1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-27 09:24:45 +00:00

Some rejigging of the editions folders

Now we’re optimising the editions for use with the —init command.
Documentation coming up.
This commit is contained in:
Jermolene 2014-02-24 13:28:55 +00:00
parent a1ad735822
commit 042698b508
9 changed files with 17 additions and 4 deletions

View File

@ -0,0 +1,12 @@
{
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/codemirror",
"tiddlywiki/highlight"
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
]
}

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki
Initialise an empty [[WikiFolder|WikiFolders]] with a copy of the specified edition. Initialise an empty [[WikiFolder|WikiFolders]] with a copy of the specified edition.
``` ```
--init <edition> --init <edition> [<edition> ...]
``` ```
For example: For example:
@ -22,4 +22,5 @@ Note:
* The "edition" defaults to ''empty'' * The "edition" defaults to ''empty''
* The init command will fail if the wiki folder does not exist, or is not empty * The init command will fail if the wiki folder does not exist, or is not empty
* The init command removes any `includeWikis` definitions in the edition's `tiddlywiki.info` file * The init command removes any `includeWikis` definitions in the edition's `tiddlywiki.info` file
* The init command can be used multiple times to merge editions. Editions initialised later will overwrite any files shared with earlier editions (so, the final `tiddlywiki.info` file will be copied from the last edition) * When multiple editions are specified, editions initialised later will overwrite any files shared with earlier editions (so, the final `tiddlywiki.info` file will be copied from the last edition)

View File

@ -5,7 +5,7 @@ rem serve TiddlyWiki5 over HTTP
rem Optional parameter is the username for signing edits rem Optional parameter is the username for signing edits
node .\tiddlywiki.js ^ node .\tiddlywiki.js ^
editions\clientserver ^ editions\tw5.com-server ^
--verbose ^ --verbose ^
--server 8080 $:/core/save/all text/plain text/html %1 %2^ --server 8080 $:/core/save/all text/plain text/html %1 %2^
|| exit 1 || exit 1

View File

@ -5,7 +5,7 @@
# Optional parameter is the username for signing edits # Optional parameter is the username for signing edits
node ./tiddlywiki.js \ node ./tiddlywiki.js \
editions/clientserver \ editions/tw5.com-server \
--verbose \ --verbose \
--server 8080 $:/core/save/all text/plain text/html $1 $2\ --server 8080 $:/core/save/all text/plain text/html $1 $2\
|| exit 1 || exit 1