source: main/waeup.fceokene/trunk/docs/source/userdocs/buildingdocs.rst @ 9694

Last change on this file since 9694 was 7823, checked in by Henrik Bettermann, 13 years ago

Update docs.

File size: 1.5 KB
Line 
1.. _building_documentation:
2
3Building Documentation (Linux OS only)
4**************************************
5
6To build the documentation for :mod:`waeup.kofa`, please follow these steps:
7
8Prerequisites
9=============
10
11We assume you already installed `waeup.kofa` as explained in
12:ref:`installing_linux`. You ran ``bin/buildout`` and can find a script
13``bin/waeupdocs``.
14
15Building HTML docs
16==================
17
18After successful install go to the root dir, where `waeup.kofa` is
19located.
20
21There run::
22
23   $ ./bin/waeupdocs
24
25This will (re-)generate any needed docs.
26
27The output can be found in ``docs/build/html``.
28
29Actually, ``waeupdocs`` is only a wrapper script around the real main
30script ``sphinx-build``, which should also be located in your ``bin/``
31directory.
32
33You therefore can also run ``bin/sphinx-build`` manually, which will
34give you more options, especially, if you want the output to be
35created in a different location or similar.
36
37Run::
38
39   $ ./bin/sphinx-build --help
40
41to get a list of options available.
42
43Alternatively, you can also go to ``docs/build`` and run::
44
45   $ make html
46
47Other available formats are listed, when you run only::
48
49   $ make
50
51These other formats will include ``latex``, ``doctest``, ``linkcheck``
52and more with a short explanation for each format.
53
54
55Building PDF docs
56=================
57
58We're currently not prepared for PDF, but support is already planned.
59
60Please be aware, that any PDF support will require a full TeX
61installation on your system to work.
Note: See TracBrowser for help on using the repository browser.