zephyr/doc
Inaky Perez-Gonzalez da5446281d doc: revert unnamed union/struct workaround in favour of known-issues
A workaround used to silence a warning in the doc generation process
which involved tagging a structure with a #define can now be solved
with a cleaner approach which is non-code-invasive.

Backup said change and update documentation on what to do when the
issue is found.

Change-Id: I1ef5224cd1b2df2e57c2ace438dba90ba3fc8528
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2016-07-01 21:53:45 +00:00
..
api doc: api: Include Bluetooth in API section 2016-06-15 13:11:31 +03:00
application doc: fix warnings in apps_kernel_conf.rst 2016-06-14 20:00:50 +00:00
bluetooth Bluetooth: doc: Add L2CAP PICS file 2016-02-16 13:50:00 +01:00
board doc: Moved Quark D2000 CRB info to wiki. 2016-06-29 04:56:01 +00:00
contribute doc: revert unnamed union/struct workaround in favour of known-issues 2016-07-01 21:53:45 +00:00
crypto doc: remove warning "file not included in toctree" 2016-06-14 20:00:46 +00:00
drivers doc: fix duplicate link warning 2016-06-14 20:00:48 +00:00
getting_started doc/getting_started: replace missing TOC entry with link 2016-06-14 20:00:48 +00:00
kernel doc: minor fix to documentation for DEFINE_TASK() 2016-06-30 16:50:40 +00:00
porting doc: fix :option: x-refs to squash doc generation warnings 2016-06-14 20:00:52 +00:00
reference doc: fix :option: x-refs to squash doc generation warnings 2016-06-14 20:00:52 +00:00
scripts/genrest doc: fix missing titles on kconfig reference entry HTML files 2016-06-17 16:45:08 +00:00
subsystems usb: Add ReST documentation file 2016-06-30 17:51:57 +00:00
themes/zephyr doc: Change conf.py and index.rst to fix the copyright and license. 2016-02-05 20:24:34 -05:00
conf.py doc: Merge substitutions into conf.py:rst_epilog 2016-06-15 01:44:52 +00:00
doxygen.config doxygen: remove NO from list of files, typo 2016-06-16 13:11:06 -07:00
index.rst doc: add links for version 1.4.0 documents 2016-06-21 19:52:48 +00:00
Makefile doc: sphinx-build prints only warnings or errors 2016-06-14 20:00:50 +00:00
README.rst doc: remove warning "file not included in toctree" 2016-06-14 20:00:46 +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

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