zephyr/doc
Anas Nashif 6d9ed994aa build: use target 'debugserver' for Qemu debugging
Use the existing debugserver target also for Qemu debugging. Qemu
should be maintained as one of many emulation/simulations platforms and
emulation should be abstracted in the Makefiles and not tied to Qemu.

qemugdb will still work, it is however being deprecated.

Change-Id: I0cd10fb66debb939b8f7f1304bf2ef4605da6a1d
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-01-10 20:20:46 +00:00
..
api doc: move ztest to subsystems 2017-01-03 17:31:57 +00:00
application build: use target 'debugserver' for Qemu debugging 2017-01-10 20:20:46 +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 doc: remove device_sync_call documentation 2016-12-21 13:53:12 +00:00
getting_started boards: prepare for integration of board documentation 2017-01-10 02:45:54 +00:00
introduction boards: prepare for integration of board documentation 2017-01-10 02:45:54 +00:00
kernel doc: move c library section to subsystems 2017-01-03 17:31:58 +00:00
porting doc/porting/arch.rst: Typo fix. 2016-12-22 13:50:43 +03:00
reference/kconfig doc: restructure application primer 2016-12-24 01:53:17 +00:00
scripts/genrest doc: fix title generation for config options pages 2016-09-20 20:30:18 +00:00
subsystems doc: move c library section to subsystems 2017-01-03 17:31:58 +00:00
templates boards: prepare for integration of board documentation 2017-01-10 02:45:54 +00:00
themes/zephyr
LICENSING.rst doc: move documetnation context to root directory 2017-01-06 22:51:31 +00:00
Makefile doc: move documetnation context to root directory 2017-01-06 22:51:31 +00:00
README.rst doc: fix documentation target and instructions 2017-01-09 16:20:21 +00:00
conf.py doc: support official website theme 2017-01-05 12:26:49 +00:00
doxygen.config net: Restructure network protocols 2017-01-02 10:03:19 +01:00
release-notes.rst doc: move documetnation context to root directory 2017-01-06 22:51:31 +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

To install ReadTheDocs.org theme, use pip to install the python package:

.. code-block:: bash

   $ pip install sphinx_rtd_theme

If the above theme is installed, it will be used instead of the default theme.

.. 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
``<ZEPHYR_BASE>``, type:

.. code-block:: bash

   $ cd <ZEPHYR_BASE>
   $ make htmldocs

Find the output in ``<ZEPHYR_BASE>/doc/_build/html/index.html``

Review the available formats with:

.. code-block:: bash

   $ make -C <ZEPHYR_BASE>/doc help

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