zacharyvoase/markdoc — pull request #20 by timmerk (2012-10-08 00:19:12+00:00)
Title: Fix for issue where listing files were lost when sync-html was run

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.