source: main/waeup.sirp/trunk/docs/source/userdocs/buildingdocs.rst @ 9095

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

The waeupdocs script does not work on Windows.

File size: 1.5 KB
RevLine 
[5340]1.. _building_documentation:
2
[6619]3Building Documentation (Linux OS only)
4**************************************
[5340]5
6To build the documentation for :mod:`waeup.sirp`, please follow these steps:
7
8Prerequisites
9=============
10
11We assume you already installed `waeup.sirp` as explained in
[6619]12:ref:`installing_linux`. You ran ``bin/buildout`` and can find a script
[5340]13``bin/waeupdocs``.
14
15Building HTML docs
16==================
17
18After successful install go to the root dir, where `waeup.sirp` 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
[5344]33You therefore can also run ``bin/sphinx-build`` manually, which will
[5340]34give you more options, especially, if you want the output to be
35created in a different location or similar.
36
[5344]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
[5340]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.