1
To build Bazaar's documentation using Sphinx, follow the
4
0. Install Sphinx. You'll need Sphinx 0.6 or later. If that
5
version isn't available in your package manager repositories
6
yet, install python-easyinstall and use it to install Sphinx.
7
See http://sphinx.pocoo.org/ for details.
9
1. Build the Bazaar docs normally, i.e. in the project root, run:
13
2. Tweak the User Guide index page used:
16
bzr mv index.txt index-for-1x.txt
17
bzr mv index-for-2x.txt index.txt
19
3. Tweak the Release Notes TOC depth:
22
vi NEWS.txt (change depth to 2)
24
4. Change to the docs directory and build the site:
29
The generated output site can be found in _build/html.
31
Note: All of the above will Just Work soon. For now, we don't
32
want to break the existing doc generation until a few issues
33
with the Sphinx-generated site are ironed out, e.g. links from
34
the User Reference to ../user-guide/index.html#foo no longer
35
work when the User Guide is nicely split into topic pages.