Hi Anne-Laure > Curious what these much complex steps > <https://tiddlywiki.com/static/Generating%2520Static%2520Sites%2520with%2520TiddlyWiki.html> > in the official documentation bring to the table?
The “build” command lets you store named sequences of commands and invoke them with a single command, making it easier to type common commands. The build targets are defined in the tiddlywiki.info <http://tiddlywiki.info/> in the root of the wiki folder like this: { "description": "Empty edition", "plugins": [ ], "themes": [ "tiddlywiki/vanilla", "tiddlywiki/snowwhite" ], "build": { "index": [ "--rendertiddler","$:/core/save/all","index.html","text/plain"], "empty": [ "--rendertiddler","$:/core/save/all","empty.html","text/plain", "--rendertiddler","$:/core/save/all","empty.hta","text/plain"], "externalimages": [ "--savetiddlers","[is[image]]","images", "--setfield","[is[image]]","_canonical_uri","$:/core/templates/canonical-uri-external-image","text/plain", "--setfield","[is[image]]","text","","text/plain", "--rendertiddler","$:/core/save/all","externalimages.html","text/plain"], "static": [ "--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain", "--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain", "--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain", "--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"] } } Those commands could be performed like this: tiddlywiki mywiki --build index empty static Best wishes Jeremy > > On Saturday, April 25, 2020 at 4:46:30 PM UTC+1, Mohammad wrote: > Hi Anne-Laure > If you run the code from root folder of wiki, just type as below > > tiddlywiki --build static > > > --Mohammad > > > On Saturday, April 25, 2020 at 7:58:13 PM UTC+4:30, Anne-Laure Le Cunff wrote: > Hi Mohammad, > > Thank you! I just tried it and get the attached error, am I doing something > wrong? > > Am I correct to do this in the root folder of the wiki? > > Thank you! > > On Saturday, April 25, 2020 at 3:53:35 PM UTC+1, Mohammad wrote: > Hi Anne-Laure, > > On Wednesday, April 22, 2020 at 7:23:38 AM UTC+4:30, Anne-Laure Le Cunff > wrote: > Hi everyone — here <https://nesslabs.com/tiddlywiki-static-website-generator> > is a short tutorial to use TiddlyWiki as a static website generator. Would > love any feedback or suggestions. Thank you! > > I just read the whole tutorial! one comment: > > In 2. Export your TiddlyWiki as a static website > > You have asked to copy paste some commands in terminal and run one by one or > create a setup.sh to make the static website BUT > > When you create your wiki using > > tiddlywiki myfirstwiki --init server > > > Tiddlywiki creates a tiddlywiki.info <http://tiddlywiki.info/> in myfirstwik > folder, you can use it like below > > tiddlywiki myfirstwiki --build static > > > and it does all the magic and no need for those headaches! specially if this > targets beginners. > > Cheers > Mohammad > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tiddlywiki+unsubscr...@googlegroups.com > <mailto:tiddlywiki+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/f6415eef-fb87-4c09-a2a6-72a706a2cdff%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/f6415eef-fb87-4c09-a2a6-72a706a2cdff%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/85478A01-0CCD-4A1C-8EA0-CCDCB6038AD8%40gmail.com.