zephyr/doc
Allan Stephens c2f15a4525 doc: Add descriptions for clock-related helper macros
Also fixes up Kernel Primer examples to use these macros.

Change-Id: Ib1bc9e3f85ab75f81986bc3930fb287266a886b5
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-11-18 02:31:35 +00:00
..
api doc: Incorporate kernel APIs into API documentation guide 2016-11-16 21:43:17 +00:00
application build: Document outputexports 2016-11-12 02:08:08 +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: Add descriptions for clock-related helper macros 2016-11-18 02:31:35 +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
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
conf.py
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

README.rst

: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