Monday, November 08, 2010

Building the Django docs

Having limited access to t'internet at the moment, I decided to try to get an offline copy of the Django documentation. It turned out not to be as easy as I had thought but I managed to find out how to do it. Here's what I did:

Install Python's easy_install by running:

yum install python-setuptools

Use easy_install to download Sphinx:

easy_install Sphinx

After downloading the Django source and untaring it, cd to the docs directory and run the following:

make html

Wait for an age while it builds the html docs from source!

This page in the Django docs was quite helpful:

http://docs.djangoproject.com/en/1.2/internals/documentation/

1 comment:

jonathanj said...

Presumably, you had to be online in the first place to yum stff?