zephyr/doc
Andrei Emeltchenko a1b25ec1e1 doc: Format Galileo running code block correctly
Format code blocks inside the main list, otherwise every block of code
breaks the list.

Change-Id: I6d48a0a3f8a3fedc832ebd9523eef52ea730b218
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2016-02-05 20:15:58 -05:00
..
application doc: edited grammar, punctuation, spelling, word usage. 2016-02-05 20:15:36 -05:00
collaboration Doc: Add gerrit recommended practices to the appropriate 2016-02-05 20:15:41 -05:00
crypto Add initial import of TinyCrypt crypto library and tests 2016-02-05 20:15:36 -05:00
kernel doc: remove doxygen index and add groups instead 2016-02-05 20:15:58 -05:00
platform doc: Enhance usability of top level platform configuration section 2016-02-05 20:15:34 -05:00
quick_start doc: Format Galileo running code block correctly 2016-02-05 20:15:58 -05:00
reference doc: remove doxygen index and add groups instead 2016-02-05 20:15:58 -05:00
scripts/genrest generate kconfig variables automatically 2016-02-05 20:15:35 -05:00
themes/zephyr doc: add custom zephyr theme 2016-02-05 20:14:28 -05:00
Makefile generate kconfig variables automatically 2016-02-05 20:15:35 -05:00
README.rst doc: remove duplicate include of substitutions.rst 2016-02-05 20:15:34 -05:00
about_zephyr.rst doc: Restore main index and cleanup 2016-02-05 20:15:33 -05:00
conf.py Changes conf.py and fine tunes doxygen.config for index & auto-generated files. 2016-02-05 20:15:21 -05:00
disclaimers.rst Doc: Restructure clean up. 2016-02-05 20:15:33 -05:00
documentation_license.rst Fix the index page and headers 2016-02-05 20:14:21 -05:00
doxygen.config doxygen: define variables for pre-processing 2016-02-05 20:15:58 -05:00
index.rst doc: Restore main index and cleanup 2016-02-05 20:15:33 -05:00
substitutions.rst Rename Zephyr OS into Zephyr Kernel 2016-02-05 20:14:26 -05:00

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