views:

320

answers:

2

Django's website seems good but for some reason I couldn't find where to download the documentation:

http://docs.djangoproject.com/en/1.1/

(Yes, I need the docs for 1.1)

Does anyone know?

+6  A: 

Django's documentation is built using Sphinx and included in their source tree.

From a checked-out copy of Django's source, just run make in the docs directory. You can find instructions for getting the source here: http://www.djangoproject.com/download/

Michael Greene
I'm not using Linux.
cool-RR
The `Makefile` is only there for convenience. If you have Sphinx installed, you can just invoke the `sphinx-build` executable directly where you would make. `sphinx-build help` will list the arguments, and you can look at the `Makefile` to see what Django would use: http://code.djangoproject.com/browser/django/trunk/docs/Makefile
Michael Greene
Also, you could always use Cygwin, but I assume that's not what you want to do ;)
Michael Greene
Okay, I just did it manually using sphinx-build. It was a pretty bad experience. (I had to figure out how the makefile works, and there appears to have been a small error there that I managed to fix.) I just want to say that I don't think it's very Pythonic that you have to go through all this just to have an offline copy of the documentation. I hope that someone will make a better solution.
cool-RR
Sphinx does have the ability to export PDFs, etc. I don't know if it's ever been proposed that the Django website host these artifacts, but if that's a need of yours maybe you should.
Michael Greene
A: 

"Okay, I just did it manually using sphinx-build. It was a pretty bad experience."

Hmm. I just tried and it was a pretty smooth experience (and I have never done this before). Here's the Linux recipe:

  1. "cd" to the directory where your Django 1.2.x download has been extracted (in my case "~/downloads/Django-1.2.1")
  2. cd docs
  3. make latex PAPER=a4
  4. cd _build/latex
  5. make all-pdf

And the end result is 1000 page tome of Django goodness!

gamesbook
A "pretty smooth experience" would be to click a "download documentation" link on Django's website.
cool-RR
Agreed. Why not post this as a request to the mailing list or on the tracking system?
gamesbook