zephyr/doc
Juan Manuel Cruz 4994fadc9d Kbuild documentation update.
This commit updates the installation documentation to be used with Kbuild.

Change-Id: Ic343e4e90d8e5849c098af1e37993446a0920aef
Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
2016-02-05 20:14:12 -05:00
..
collaboration ADD Collaboration Guideline ReST content files. 2016-02-05 20:14:01 -05:00
doxygen Add In-Code Documentation Guidelines 2016-02-05 20:14:12 -05:00
installation Kbuild documentation update. 2016-02-05 20:14:12 -05:00
object Add Object Documentation 2016-02-05 20:14:11 -05:00
Makefile Add tools and Makefiles for Documentation 2016-02-05 20:13:58 -05:00
README.rst doc: Fixed instructions for building documentation 2016-02-05 20:14:11 -05:00
conf.py doc: put a 'Last update on: timestamp' in footer 2016-02-05 20:14:11 -05:00
disclaimers.rst Add Disclaimer explaining that the documentation is a work in progress. 2016-02-05 20:14:11 -05:00
documentation_license.rst ADD framework files for ReST content. 2016-02-05 20:14:00 -05:00
doxygen.config doc: add nano kernel files and *.s pattern 2016-02-05 20:14:11 -05:00
index.rst Add Disclaimer explaining that the documentation is a work in progress. 2016-02-05 20:14:11 -05:00
substitutions.rst ADD framework files for ReST content. 2016-02-05 20:14:00 -05:00

README.rst

.. include:: substitutions.rst

Welcome to |codename|
#####################

.. This document is in Restructured Text Format.

   More information at `<http://sphinx-doc.org/rest.html>`_.
   This is a comment that won't show up in formatted output

Welcome to |project|.

Thank you for your interest in |project|. Read the instructions
carefully to generate the |project|'s documentation.


Documentation Notes
*******************

The documentation of |project| currently comprises the following items:

* An Installation Guide for Linux host systems

* A set of Collaboration Guidelines for the |project| project.

* Raw Doxygen output from the code base.

Installing the documentation processors
***************************************

Install the current version of :program:`Sphinx`, type:

.. code-block:: bash

   $ git clone https://github.com/sphinx-doc/sphinx.git sphinx

   $ cd sphinx

   $ sudo -E python setup.py install

   $ cd ..

   $ git clone https://github.com/michaeljones/breathe.git breathe

   $ cd breathe

   $ sudo -E python setup.py install

.. note::

   Make sure that :program:`Doxygen` is installed in your system.
   The installation of Doxygen is beyond the scope of this document.

Running the documentation generators
************************************

Assuming that the |project| tree with the doc patches is in
:file:`DIRECTORY`, type:

.. code-block:: bash

   $ cd DIRECTORY/doc

   $ make doxy html

Find the output in :file:`DIRECTORY/doc/_build/html/index.html`

Review the available formats with:

.. code-block:: bash

   $ make -C DIRECTORY/doc doxy html

If you want the LaTeX PDF output, you need to install all the Latex
packages first. That installation is beyond the scope of this document.