Blame doc/source/about.rst

Packit c22fc9
#####################
Packit c22fc9
About These Documents
Packit c22fc9
#####################
Packit c22fc9
Packit c22fc9
These documents are generated from `reStructuredText`_ sources by `Sphinx`_, a
Packit c22fc9
document processor specifically written for the Python documentation.
Packit c22fc9
Packit c22fc9
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
Packit c22fc9
.. _Sphinx: http://sphinx-doc.org/
Packit c22fc9
Packit c22fc9
Packit c22fc9
Building The Documentation
Packit c22fc9
**************************
Packit c22fc9
Packit c22fc9
To build the keepalived documentation, you will need to have a recent version
Packit c22fc9
of Sphinx installed on your system.  Alternatively, you could use a python
Packit c22fc9
virtualenv.
Packit c22fc9
Packit c22fc9
From the root of the repository clone, run the following command to build the
Packit c22fc9
documentation in HTML format::
Packit c22fc9
Packit c22fc9
    cd keepalived-docs
Packit c22fc9
    make html
Packit c22fc9
Packit c22fc9
For PDF, you will also need ``docutils`` and various ``texlive-*`` packages for
Packit c22fc9
converting reStructuredText to LaTex and finally to PDF::
Packit c22fc9
Packit c22fc9
    pip install docutils
Packit c22fc9
    cd keepalived-docs
Packit c22fc9
    make latexpdf
Packit c22fc9
Packit c22fc9
Alternatively, you can use the ``sphinx-build`` command that comes with the
Packit c22fc9
Sphinx package::
Packit c22fc9
Packit c22fc9
    cd keepalived-docs
Packit c22fc9
    sphinx-build -b html . build/html
Packit c22fc9
Packit c22fc9
.. todo::
Packit c22fc9
   make latexpdf needs pdflatex provided by texlive-latex on RHEL6 and
Packit c22fc9
   texlive-latex-bin-bin on Fedora21
Packit c22fc9
Packit c22fc9
.. todo::
Packit c22fc9
   make linkcheck to check for broken links