blob: 64651b889aba305a4c6e7cba82188beda0cf078b [file] [log] [blame] [view]
Alexander Afanasyev26f0ff82013-11-21 23:22:41 +00001Prerequisites
2=============
3
4To "compile" documentation into html form you would need to install Sphinx documentation package, which should be relatively trivial.
5
6If you're on OSX platform:
7
8- If you have macports, then
9
10 sudo port install py27-sphinx
11 sudo port selectsphinx py27-sphinx
12
Alexander Afanasyev1f53de42013-12-01 19:25:55 +000013 sudo easy_install-2.7 sphinxcontrib-fulltoc
14 sudo easy_install-2.7 sphinxcontrib-bibtex
15
Alexander Afanasyev26f0ff82013-11-21 23:22:41 +000016- Install from source: http://sphinx-doc.org/install.html
17
18- Install from .pkg binary package: http://named-data.net/binaries/sphinx-doc-0.2.pkg
19
20If you're on Ubuntu Linux:
21
22 sudo apt-get install python-sphinx
23
Alexander Afanasyev1f53de42013-12-01 19:25:55 +000024 sudo easy_install sphinxcontrib-fulltoc
25 sudo easy_install sphinxcontrib-bibtex
26
Alexander Afanasyev26f0ff82013-11-21 23:22:41 +000027Compilation
28===========
29
30Just type
31
32 make html
33
34And a set of HTML pages will be build under ``_build/html``
35
36
37You can also type
38
39 make latexpdf
40
41This way Sphinx will prepare .tex file and will try to build .pdf document.
42