zacharyvoase / markdoc

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

Sync-html command doesn't sync listing or index files #18

Closed timmerk closed 11 years ago

timmerk commented 11 years ago

The sync-html command should sync everything inside your temp folder to HTML root. However, it doesn't sync the listing or index files to HTML root.

This is because the build_listing method puts the files directly into the HTML root. Instead, it should put them in the temp folder, and have the sync_html method sync those over to the HTML root. Once this change is made, lines 270 and 271 should be flip-flopped in the build method in commands.py.