kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Some rejigging of the editions folders
Now we’re optimising the editions for use with the —init command. Documentation coming up.print-window-tiddler
rodzic
a1ad735822
commit
042698b508
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"plugins": [
|
||||
"tiddlywiki/tiddlyweb",
|
||||
"tiddlywiki/filesystem",
|
||||
"tiddlywiki/codemirror",
|
||||
"tiddlywiki/highlight"
|
||||
],
|
||||
"themes": [
|
||||
"tiddlywiki/vanilla",
|
||||
"tiddlywiki/snowwhite"
|
||||
]
|
||||
}
|
Przed Szerokość: | Wysokość: | Rozmiar: 6.4 KiB Po Szerokość: | Wysokość: | Rozmiar: 6.4 KiB |
|
@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki
|
|||
Initialise an empty [[WikiFolder|WikiFolders]] with a copy of the specified edition.
|
||||
|
||||
```
|
||||
--init <edition>
|
||||
--init <edition> [<edition> ...]
|
||||
```
|
||||
|
||||
For example:
|
||||
|
@ -22,4 +22,5 @@ Note:
|
|||
* The "edition" defaults to ''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 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)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ rem serve TiddlyWiki5 over HTTP
|
|||
rem Optional parameter is the username for signing edits
|
||||
|
||||
node .\tiddlywiki.js ^
|
||||
editions\clientserver ^
|
||||
editions\tw5.com-server ^
|
||||
--verbose ^
|
||||
--server 8080 $:/core/save/all text/plain text/html %1 %2^
|
||||
|| exit 1
|
||||
|
|
2
serve.sh
2
serve.sh
|
@ -5,7 +5,7 @@
|
|||
# Optional parameter is the username for signing edits
|
||||
|
||||
node ./tiddlywiki.js \
|
||||
editions/clientserver \
|
||||
editions/tw5.com-server \
|
||||
--verbose \
|
||||
--server 8080 $:/core/save/all text/plain text/html $1 $2\
|
||||
|| exit 1
|
||||
|
|
Ładowanie…
Reference in New Issue