zephyr/doc
Anas Nashif 88be4835f0 doc: make output directory overridable
Change-Id: I81b0a2935e3c294908078c7188a9900968b55bb1
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-12-24 13:13:31 +00:00
..
api doc: group logging features under subsystem/ 2016-12-24 01:53:18 +00:00
application doc: restructure application primer 2016-12-24 01:53:17 +00:00
board doc: point to wiki for board documnetation 2016-10-24 18:51:50 +00:00
contribute
crypto
drivers doc: remove device_sync_call documentation 2016-12-21 13:53:12 +00:00
getting_started doc: Add environment variables to getting_started.rst 2016-12-20 21:42:17 +00:00
introduction unified/doc: Update Introducing Zephyr 2016-11-01 21:45:38 +00:00
kernel doc: group logging features under subsystem/ 2016-12-24 01:53:18 +00:00
porting doc/porting/arch.rst: Typo fix. 2016-12-22 13:50:43 +03:00
reference/kconfig doc: restructure application primer 2016-12-24 01:53:17 +00:00
scripts/genrest
subsystems doc: group logging features under subsystem/ 2016-12-24 01:53:18 +00:00
themes/zephyr
conf.py doc: use ReadTheDocs.org theme if available 2016-12-24 13:12:59 +00:00
doxygen.config ztest: Add documentation 2016-09-30 21:17:40 +00:00
index.rst doc: read version from Makefile 2016-12-24 01:53:18 +00:00
LICENSING.rst LICENSING: clarify licenses of imported / reused code 2016-11-11 01:36:14 +00:00
Makefile doc: make output directory overridable 2016-12-24 13:13:31 +00:00
README.rst doc: use ReadTheDocs.org theme if available 2016-12-24 13:12:59 +00:00

:orphan:

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

.. This document is in Restructured Text Format.
   Find more information regarding the ReST markup in the
   `ReST documentation`_.
   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 ``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

To install ReadTheDocs.org theme, use pip to install the python package:

.. code-block:: bash

   $ pip install sphinx_rtd_theme

If the above theme is installed, it will be used instead of the default theme.

.. note::

   Make sure that ``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
``DIRECTORY``, type:

.. code-block:: bash

   $ cd DIRECTORY/doc

   $ make doxy html

Find the output in ``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.

.. _ReST documentation: http://sphinx-doc.org/rest.html