zacharyvoase / markdoc

A lightweight Markdown-based wiki system. Current status: abandoned.
http://markdoc.org/
The Unlicense
347 stars 74 forks source link

Fix for issue where listing files were lost when sync-html was run #20

Open timmerk opened 11 years ago

timmerk commented 11 years ago

Build-listing needs to put the listing files directly into the HTML directory (instead of the temp directory) because of the static files (see line 107 in builder.py for more info on this). However, the sync-html command would overwrite the listing files. Since the internal workings of how build-listing works is not apparent to end users, I propose that build-listing is run after a sync-html command is run. This also makes sense because you have new data in the HTML directory, so you need new listing files. The attached patch does this.