Productivity and Self-improvement by Gutata


Turn Django Documentation Into HTML

Posted in Django, Python by Michael on the August 15th, 2008

Want to generate HTML from the Django docs? Do this:

  1. Download docutils (link docutils-0.5.tgz at the bottom of the page)
  2. tar -zxvf docutils-0.5.tgz
  3. python docutils/tools/rst2html.py <name>.txt <name>.html

where <name> is the document file such as model-api.txt

Leave a Reply