2016-06-14 03:53:57 +08:00
|
|
|
:orphan:
|
|
|
|
|
2015-10-21 01:28:33 +08:00
|
|
|
Welcome to Zephyr Kernel
|
|
|
|
########################
|
2015-05-16 00:38:34 +08:00
|
|
|
|
|
|
|
.. This document is in Restructured Text Format.
|
2015-12-09 04:30:34 +08:00
|
|
|
Find more information regarding the ReST markup in the
|
|
|
|
`ReST documentation`_.
|
2015-05-16 00:38:34 +08:00
|
|
|
This is a comment that won't show up in formatted output
|
|
|
|
|
2015-10-21 01:29:57 +08:00
|
|
|
Welcome to the Zephyr Project.
|
2015-05-16 00:38:34 +08:00
|
|
|
|
2015-10-21 01:29:57 +08:00
|
|
|
Thank you for your interest in the Zephyr Project. These instructions are
|
|
|
|
designed to walk you through generating the Zephyr Project's documentation.
|
2015-05-16 00:38:34 +08:00
|
|
|
|
|
|
|
Documentation Notes
|
|
|
|
*******************
|
|
|
|
|
2015-06-10 07:39:49 +08:00
|
|
|
The project's documentation currently comprises the following items:
|
2015-05-16 00:38:34 +08:00
|
|
|
|
|
|
|
* An Installation Guide for Linux host systems
|
|
|
|
|
2015-06-10 07:39:49 +08:00
|
|
|
* A set of Collaboration Guidelines for the project.
|
2015-05-16 00:38:34 +08:00
|
|
|
|
2015-12-09 04:17:55 +08:00
|
|
|
* Doxygen output from the code base for all APIs.
|
2015-05-16 00:38:34 +08:00
|
|
|
|
|
|
|
Installing the documentation processors
|
|
|
|
***************************************
|
|
|
|
|
2016-01-26 02:06:33 +08:00
|
|
|
Install the current version of ``Sphinx``, type:
|
2015-05-16 00:38:34 +08:00
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
$ git clone https://github.com/sphinx-doc/sphinx.git sphinx
|
|
|
|
|
|
|
|
$ cd sphinx
|
|
|
|
|
|
|
|
$ sudo -E python setup.py install
|
|
|
|
|
2015-05-28 00:26:55 +08:00
|
|
|
$ cd ..
|
|
|
|
|
2015-05-16 00:38:34 +08:00
|
|
|
$ git clone https://github.com/michaeljones/breathe.git breathe
|
|
|
|
|
|
|
|
$ cd breathe
|
|
|
|
|
|
|
|
$ sudo -E python setup.py install
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
2016-01-26 02:06:33 +08:00
|
|
|
Make sure that ``Doxygen`` is installed in your system.
|
2015-05-16 00:38:34 +08:00
|
|
|
The installation of Doxygen is beyond the scope of this document.
|
|
|
|
|
2015-12-09 04:30:34 +08:00
|
|
|
Running the Documentation Generators
|
2015-05-16 00:38:34 +08:00
|
|
|
************************************
|
|
|
|
|
2015-10-21 01:29:57 +08:00
|
|
|
Assuming that the Zephyr Project tree with the doc directory is in
|
2016-01-26 02:06:33 +08:00
|
|
|
``DIRECTORY``, type:
|
2015-05-16 00:38:34 +08:00
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
$ cd DIRECTORY/doc
|
|
|
|
|
|
|
|
$ make doxy html
|
|
|
|
|
2016-01-26 02:06:33 +08:00
|
|
|
Find the output in ``DIRECTORY/doc/_build/html/index.html``
|
2015-05-16 00:38:34 +08:00
|
|
|
|
|
|
|
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.
|
2015-12-09 04:30:34 +08:00
|
|
|
|
2016-06-14 03:53:57 +08:00
|
|
|
.. _ReST documentation: http://sphinx-doc.org/rest.html
|