zephyr/doc
Andrew Boie 0b474eef9c kernel: deprecate old init levels
PRIMARY, SECONDARY, NANOKERNEL, MICROKERNEL init levels are now
deprecated.

New init levels introduced: PRE_KERNEL_1, PRE_KERNEL_2, POST_KERNEL
to replace them.

Most existing code has instances of PRIMARY replaced with PRE_KERNEL_1,
SECONDARY with POST_KERNEL as SECONDARY has had a longstanding bug
where the documentation specified SECONDARY ran before the kernel started
up, but actually ran afterwards.

Change-Id: I771bc634e9caf7f17dbf214a270bc9967eed7d32
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-11-09 17:59:44 +00:00
..
api kernel: delete old micro and nanokernel documentation 2016-11-04 20:51:01 +00:00
application unified/doc: Update Application Development Primer 2016-11-03 20:27:38 +00:00
board doc: point to wiki for board documnetation 2016-10-24 18:51:50 +00:00
contribute doc: Remove contributor documentation moved to wiki 2016-08-04 22:01:10 +00:00
crypto doc: Terminology--Replace 'platform' with 'board' 2016-08-12 22:57:24 +00:00
drivers kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
getting_started doc: remove microkernel references from getting starting guide 2016-11-05 11:20:46 +00:00
introduction unified/doc: Update Introducing Zephyr 2016-11-01 21:45:38 +00:00
kernel_v2 kernel: rename k_am_in_isr() to k_is_in_isr() 2016-11-08 20:27:31 -05:00
porting kernel: delete old micro and nanokernel documentation 2016-11-04 20:51:01 +00:00
reference unified/doc: Update Kbuild Reference 2016-11-01 21:45:39 +00:00
scripts/genrest doc: fix title generation for config options pages 2016-09-20 20:30:18 +00:00
subsystems Bluetooth: samples: Use consistent naming for HCI apps 2016-11-09 08:57:52 +02: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 ztest: Add documentation 2016-09-30 21:17:40 +00:00
index.rst kernel: delete old micro and nanokernel documentation 2016-11-04 20:51:01 +00:00
Makefile doc: makefile doesn't print unneeded output of pwd 2016-08-02 06:47:21 +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