zephyr/doc
Benjamin Walsh c3a2bbba16 kernel: add k_cpu_idle/k_cpu_atomic_idle()
nano_cpu_idle/nano_cpu_atomic_idle were not ported to the unified
kernel, and only the old APIs were available. There was no real impact
since, in the unified kernel, only the idle thread should really be
doing power management. However, with a single-threaded kernel, these
functions can be useful again.

The kernel internals now make use of these APIs instead of the legacy
ones.

Change-Id: Ie8a6396ba378d3ddda27b8dd32fa4711bf53eb36
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-12-15 16:17:38 -05:00
..
api doc: Revise kernel event logger documentation 2016-11-18 23:17:51 +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 kernel: add k_cpu_idle/k_cpu_atomic_idle() 2016-12-15 16:17:38 -05:00
porting kernel: add k_cpu_idle/k_cpu_atomic_idle() 2016-12-15 16:17:38 -05: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 net: buf: Switch from k_fifo to k_lifo for free buffers 2016-12-15 12:06:22 +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
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
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 doc: add link to 1.6 documentation 2016-12-03 22:01:47 +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