on i4PACE(i for Personal Archiving and Creating Environment)
actions » SearchLogin 89 articles • 30 Jul 2010

Article with comments

Tuesday, 25 Nov 2008

permalink Building up Pinax Documents by Sphinx

When checked docs directory in the Pinax source, found it uses Sphinx-build, which was not listed in the Ubuntu repository somehow. Sphinx site suggests to use

$ easy_install Sphinx

Now, where is easy_install? Turned out it's in python-setuptools. Installed it by

$ sudo apt-get install python-setuptools

OK, install Sphinx

$ sudo easy_install Sphinx

Wow, it's downloading and installing... but, failed:

INFORMATION the speedup extension could not be compiled, Jinja will fall back to the native python classes. =============================================================================== error: Setup script exited with error: can't copy 'Jinja.egg-info/native_libs.txt': doesn't exist or not a regular file

Hmm... well, install

$ sudo apt-get install python-jinja

and ran again

$ sudo easy_install Sphinx

OK, it worked :-> So, ran Sphinx as

$ cd ~/pinax/docs
$ make htmlhelp

Ah, great automation... with one warning

build succeeded, 1 warning.

and says

Build finished; now you can run HTML Help Workshop with the .hhp project file in .build/htmlhelp.

Doing

$ cd .build/htmlhelp
$ firefox index.html

showed
[[image: pinax_doc.png]]
Good :-) Still a lot to read :-/

http://pinaxproject.com/docs/trunk/ provides the same pages.

• Wrote Teru at 15:43 (edited 5×, last on 25 Nov 2008) | read 30× | Add comment

Comments (0)

No comments for this article yet.

Write a comment

Your name  
E-mail   (only visible for blog owner)
Homepage
How much is 7+7?   (protection against spam-bots)
Text:

[b] [i] [u] [tt] [center] [code] [quote] [url] [url=] [img] [@] [@@] [@:]
detailed help about markup
Process times: page=0.025 request=0.040 cpu=0.040