zephyr/doc
Benjamin Walsh a740cd96a9 doc: add device_ namespace to the naming code conventions
Change-Id: I3404a675a965ed196721f3cf825780c607ed2d40
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-02-05 20:25:25 -05:00
..
application
bluetooth doc: Update bluetooth SM PICS to PTS 6.4 2016-02-05 20:25:18 -05:00
collaboration doc: add device_ namespace to the naming code conventions 2016-02-05 20:25:25 -05:00
crypto
kernel device: rename SYS_GET_DEVICE_NAME/SYS_GET_DEVICE 2016-02-05 20:25:25 -05:00
platform doc: frdm_k64f: Update firmware name for board frdm_k64f 2016-02-05 20:25:24 -05:00
quick_start doc: update SDK version and location 2016-02-05 20:25:21 -05:00
reference
scripts/genrest
themes/zephyr
about_zephyr.rst doc: Fix cross-reference and toctree on index.rst and about_zephyr.rst 2016-02-05 20:25:25 -05:00
conf.py
doxygen.config
index.rst doc: Fix cross-reference and toctree on index.rst and about_zephyr.rst 2016-02-05 20:25:25 -05:00
Makefile
README.rst doc: Change README to reflect new API documentation. 2016-02-05 20:25:15 -05:00
substitutions.rst

Welcome to Zephyr Kernel
########################

.. 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 the Zephyr Project.

Thank you for your interest in the Zephyr Project. These instructions are
designed to walk you through generating the Zephyr Project's documentation.


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

The project's documentation currently comprises the following items:

* An Installation Guide for Linux host systems

* A set of Collaboration Guidelines for the project.

* Doxygen output from the code base for all APIs.

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 Zephyr Project tree with the doc directory 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.