1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Altered command order for generating static sites in how-to because rendertiddlers wipes out the output directory so it needs to come first, not last.

This commit is contained in:
Jim Lehmer 2014-12-07 15:08:51 -06:00
parent 957a8608ad
commit 4aa8fc6d1d

View File

@ -15,9 +15,9 @@ You can explore a static representation of this TiddlyWiki at <a href="static.ht
The following commands are used to generate the sample static version of the TiddlyWiki5 site:
```
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html static text/plain
--rendertiddler $:/core/templates/static.template.html static.html text/plain
--rendertiddler $:/core/templates/static.template.css static/static.css text/plain
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html static text/plain
```
The first RenderTiddlerCommand saves the static version of the DefaultTiddlers, the second saves the stylesheet, and the final RenderTiddlersCommand generates the HTML representations of individual tiddlers. (All the files are placed in the `output` folder of the wiki folder).