source: main/waeup.kofa/trunk/docs/source/userdocs/buildingdocs.rst @ 9208

Last change on this file since 9208 was 7808, checked in by uli, 13 years ago

Update all non-source files to reflect new package name.

File size: 1.5 KB
RevLine 
[5340]1.. _building_documentation:
2
[6619]3Building Documentation (Linux OS only)
4**************************************
[5340]5
[7808]6To build the documentation for :mod:`waeup.kofa`, please follow these steps:
[5340]7
8Prerequisites
9=============
10
[7808]11We assume you already installed `waeup.kofa` 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
[7808]18After successful install go to the root dir, where `waeup.kofa` is
[5340]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.