# HG changeset patch # User Steve Losh # Date 1327367149 18000 # Node ID 06d51732e178801494d2699402941ffd548ce5c1 # Parent b548eb6bb9a20c4c167ed40541e573969f69fe25 Mention how to preview. diff -r b548eb6bb9a2 -r 06d51732e178 docs/04-faqs.markdown --- a/docs/04-faqs.markdown Mon Jan 23 19:52:08 2012 -0500 +++ b/docs/04-faqs.markdown Mon Jan 23 20:05:49 2012 -0500 @@ -103,6 +103,21 @@ Writing Tools ------------- +### How can I preview the documentation locally? + +You need a real web server to preview the generated files effectively. Luckily, +you already have one: Python comes with a built-in server that's great for +viewing local files. + +Build your docs, then in a separate terminal: + + :::bash + cd myproject/docs + cd build + python -m SimpleHTTPServer + +Now open and view your docs! + ### Can I make d auto-rerender when my files change? Yes, use [kicker](https://github.com/alloy/kicker) to watch for changes and run