blob: c7ff3badaeb3095433522ab9d551c4eb15efa984 [file] [log] [blame]
Inaky Perez-Gonzaleze3683c22016-06-13 12:53:57 -07001:orphan:
2
Anas Nashifba751c82015-10-20 13:28:33 -04003Welcome to Zephyr Kernel
4########################
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -05005
6.. This document is in Restructured Text Format.
Rodrigo Caballeroc0871e42015-12-08 14:30:34 -06007 Find more information regarding the ReST markup in the
8 `ReST documentation`_.
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -05009 This is a comment that won't show up in formatted output
10
Anas Nashife9731192015-10-20 13:29:57 -040011Welcome to the Zephyr Project.
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050012
Anas Nashife9731192015-10-20 13:29:57 -040013Thank you for your interest in the Zephyr Project. These instructions are
14designed to walk you through generating the Zephyr Project's documentation.
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050015
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050016Documentation Notes
17*******************
18
Dan Kalowsky1e4624e2015-06-09 16:39:49 -070019The project's documentation currently comprises the following items:
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050020
21* An Installation Guide for Linux host systems
22
Dan Kalowsky1e4624e2015-06-09 16:39:49 -070023* A set of Collaboration Guidelines for the project.
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050024
Rodrigo Caballero772c85b2015-12-08 14:17:55 -060025* Doxygen output from the code base for all APIs.
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050026
27Installing the documentation processors
28***************************************
29
Rodrigo Caballero40df7fc2016-01-25 12:06:33 -060030Install the current version of ``Sphinx``, type:
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050031
32.. code-block:: bash
33
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050034 $ git clone https://github.com/sphinx-doc/sphinx.git sphinx
35
36 $ cd sphinx
37
38 $ sudo -E python setup.py install
39
Anas Nashifc4627562015-05-27 12:26:55 -040040 $ cd ..
41
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050042 $ git clone https://github.com/michaeljones/breathe.git breathe
43
44 $ cd breathe
45
46 $ sudo -E python setup.py install
47
48.. note::
49
Rodrigo Caballero40df7fc2016-01-25 12:06:33 -060050 Make sure that ``Doxygen`` is installed in your system.
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050051 The installation of Doxygen is beyond the scope of this document.
52
Rodrigo Caballeroc0871e42015-12-08 14:30:34 -060053Running the Documentation Generators
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050054************************************
55
Anas Nashife9731192015-10-20 13:29:57 -040056Assuming that the Zephyr Project tree with the doc directory is in
Rodrigo Caballero40df7fc2016-01-25 12:06:33 -060057``DIRECTORY``, type:
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050058
59.. code-block:: bash
60
61 $ cd DIRECTORY/doc
62
63 $ make doxy html
64
Rodrigo Caballero40df7fc2016-01-25 12:06:33 -060065Find the output in ``DIRECTORY/doc/_build/html/index.html``
Rodrigo Caballeroa4a50fa2015-05-15 11:38:34 -050066
67Review the available formats with:
68
69.. code-block:: bash
70
71 $ make -C DIRECTORY/doc doxy html
72
73If you want the LaTeX PDF output, you need to install all the Latex
74packages first. That installation is beyond the scope of this document.
Rodrigo Caballeroc0871e42015-12-08 14:30:34 -060075
Inaky Perez-Gonzaleze3683c22016-06-13 12:53:57 -070076.. _ReST documentation: http://sphinx-doc.org/rest.html