Some rejigging of the editions folders

Now we’re optimising the editions for use with the —init command.
Documentation coming up.
print-window-tiddler
Jermolene 2014-02-24 13:28:55 +00:00
rodzic a1ad735822
commit 042698b508
9 zmienionych plików z 17 dodań i 4 usunięć

Wyświetl plik

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

Wyświetl plik

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 6.4 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 6.4 KiB

Wyświetl plik

@ -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)

Wyświetl plik

@ -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

Wyświetl plik

@ -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