MoinMoin to static HTML export
General
This is no formatter only a tutorial how to create a static HTML version of the wiki. The FormatterMarket is where I would look for something like that. Going through various search sessions and checking various spellings, I found a way.
Maybe someone can include this in an action or else.
the way
MoinMoin provides an html export module ( MoinDump ). This allows via command line to extract single pages or the whole wiki.
precondition
- installed python
for windows user who may not install software on their machine see http://www.portablepython.com . download and extract into a directory
installed version of MoinMoin with MoinMoin\script present
for MoinMoinDesktop version download the zip version
configure in your wikiconfig.py
class Config(DefaultConfig): data_dir ="pathToWiki/wiki/data" data_underlay_dir ="pathToWiki/wiki/underlay"
- this is needed by the script.
how to
for a Desktop Version try
pathToPython\PortablePython1.0\python.exe pathToMoinMoinWiki\MoinMoin\script\moin.py --config-dir=pathTo_Wikiconfig.py --wiki-url=localhost:8081 export dump --target-dir=C:\temp\myWiki
for a single page add ... dump --page=WikiSandbox --target-dir=...
see also MoinDump
copy the theme modern to your destination directory
copy a logo.png to your destination directory
- and enjoy. Matthias