zephyr/doc
Allan Stephens da82722534 doc: Minor corrections to kernel API documentation
Addresses a range of issues affecting the Kernel Primer or
the API Guide generated from doxygen tags.

* Ensures mailbox examples use kernel APIs correctly.
  (Fix for ZEP-1262, as well as other errors).

* Ensures memory alignment limitations for memory slabs
  are correctly described. (Fix for ZEP-1265.)

* Ensures memory alignment limitations for memory pools
  are more clearly described. Also fixes a typo in a
  memory pool example.

* Ensures memory alignment limitations for message
  queues are more clearly described.

* Fixes references to a number of kernel configuration
  options that were omitted or incorrectly formatted.

* Fixes a typo in an example of thread spawning.

Change-Id: I395186f333490b1e0c4223b87c0fe7136548770f
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-11-11 22:13:32 +00:00
..
api kernel: delete old micro and nanokernel documentation 2016-11-04 20:51:01 +00:00
application Revert "build: Document outputexports" 2016-11-11 01:14:51 +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 docs: remove usage of ARCH=arm 2016-11-10 17:24:45 +00:00
introduction unified/doc: Update Introducing Zephyr 2016-11-01 21:45:38 +00:00
kernel_v2 doc: Minor corrections to kernel API documentation 2016-11-11 22:13:32 +00: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: doc: Remove mentions of legacy kernel concepts 2016-11-11 11:24:35 +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 LICENSING: clarify licenses of imported / reused code 2016-11-11 01:36:14 +00:00
LICENSING.rst LICENSING: clarify licenses of imported / reused code 2016-11-11 01:36:14 +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