From 6ec87efb5ab4a3fe82e30dd4fc4109aa9d653c40 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 13 Oct 2014 09:56:50 +0100 Subject: [PATCH] Remove references to `$TW5_BUILD_OUTPUT` --- .../Generating Static Sites with TiddlyWiki.tid | 15 ++++++++------- .../tiddlers/mechanisms/TestingMechanism.tid | 6 +++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/editions/tw5.com/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid b/editions/tw5.com/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid index 328221864..fae89ff56 100644 --- a/editions/tw5.com/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid +++ b/editions/tw5.com/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid @@ -1,5 +1,5 @@ created: 20130828190200000 -modified: 20140912141647843 +modified: 20141013085608911 tags: [[TiddlyWiki on Node.js]] title: Generating Static Sites with TiddlyWiki type: text/vnd.tiddlywiki @@ -12,14 +12,15 @@ There is much flexibility in how the static HTML is generated. The following sce You can explore a static representation of this TiddlyWiki at static.html. That file is a static snapshot of the current DefaultTiddlers. Any tiddlers that it links to are referred to via URLs of the form `/static/HelloThere.html` that point to static snapshots of individual tiddlers. The tiddler HTML files reference a `static.css` stylesheet file. -The included `bin/bld.sh` script includes these commands that are involved in generating the sample static version of the TiddlyWiki5 site: +The following commands are used to generate the sample static version of the TiddlyWiki5 site: ``` ---rendertiddler $:/core/templates/static.template.html $TW5_BUILD_OUTPUT/static.html text/plain \ ---rendertiddler $:/core/templates/static.template.css $TW5_BUILD_OUTPUT/static/static.css text/plain \ ---rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html $TW5_BUILD_OUTPUT/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. + +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). ! Wiki Snapshot with Internal Links @@ -30,5 +31,5 @@ For example: alltiddlers.html The example is built by the following line in `bin/bld.sh`: ``` ---rendertiddler $:/core/templates/alltiddlers.template.html $TW5_BUILD_OUTPUT/alltiddlers.html text/plain \ +--rendertiddler $:/core/templates/alltiddlers.template.html alltiddlers.html text/plain \ ``` diff --git a/editions/tw5.com/tiddlers/mechanisms/TestingMechanism.tid b/editions/tw5.com/tiddlers/mechanisms/TestingMechanism.tid index f3c330d52..90694073d 100644 --- a/editions/tw5.com/tiddlers/mechanisms/TestingMechanism.tid +++ b/editions/tw5.com/tiddlers/mechanisms/TestingMechanism.tid @@ -1,4 +1,4 @@ -modified: 201311222159 +modified: 20141013085608911 tags: Mechanisms title: TestingMechanism @@ -28,9 +28,9 @@ To generate a wiki containing the browser tests load up the `test` wiki and save node ./tiddlywiki.js \ ./editions/test \ --verbose \ - --rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/test.html text/plain \ + --rendertiddler $:/core/save/all test.html text/plain \ ``` -Then, open the `test.html` file in the browser to see the test results. There is a prebuilt version of `test.html` at: +The `test.html` file will be placed in the `output` folder within the wiki folder. Open it in the browser to see the test results. There is a prebuilt version of `test.html` at: http://tiddlywiki.com/test.html