zephyr/doc
Anas Nashif ba751c80b0 doc: codename -> Zephyr Kernel
To make the documentation readable from the source I want to get rid of the
substitutions for the project name an code name. This does not add any values
and makes it unreadable when looking at the text files directly. It also causes
some issues when people use those without actually knowing what they represent,
resulting in some weird and redundant language.

Change-Id: I09e8cbbee7c1141a7a77d3ffff59cdae2b52050c
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-05 20:24:34 -05:00
..
application doc: codename -> Zephyr Kernel 2016-02-05 20:24:34 -05:00
collaboration doc: codename -> Zephyr Kernel 2016-02-05 20:24:34 -05:00
crypto
kernel doc: codename -> Zephyr Kernel 2016-02-05 20:24:34 -05:00
platform doc: codename -> Zephyr Kernel 2016-02-05 20:24:34 -05:00
quick_start doc: codename -> Zephyr Kernel 2016-02-05 20:24:34 -05:00
reference doc: codename -> Zephyr Kernel 2016-02-05 20:24:34 -05:00
scripts/genrest doc: fixed inclusion of files to avoid warnings 2016-02-05 20:24:34 -05:00
themes/zephyr
Makefile
README.rst doc: codename -> Zephyr Kernel 2016-02-05 20:24:34 -05:00
about_zephyr.rst doc: codename -> Zephyr Kernel 2016-02-05 20:24:34 -05:00
conf.py doc: set copyright on every page 2016-02-05 20:24:23 -05:00
documentation_license.rst doc: set copyright on every page 2016-02-05 20:24:23 -05:00
doxygen.config doxygen: remove obsolete config options 2016-02-05 20:24:23 -05:00
index.rst doc: remove disclaimer 2016-02-05 20:24:34 -05:00
substitutions.rst doc: remove PM keyword from substitutions 2016-02-05 20:24:34 -05:00

README.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 |project|.

Thank you for your interest in the |project|. These instructions are
designed to walk you through generating the |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.

* 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 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.