zephyr/doc
Andy Ross 72f00d930e Make outdir board-specific to avoid build collisions
Casual building in the tree leads to regular messups where I forget to
clean up the outdir first when switching platforms and the build fails
in strange ways.

Put a $(BOARD) subdirectory under outdir, and use that at $(O) when
the user does not provide an output directory.

Note that "make pristine" continues to remove the entire outdir,
including other architecutres (so as to make the tree pristine).

Also update a few spots where outdir was mentioned in documentation to
clarify the new scheme.

Change-Id: I365eec06ea440f17380b9f9ace5f5d34b9bed4dc
Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2016-08-27 11:48:05 +00:00
..
api doc: Terminology--Replace 'platform' with 'board' 2016-08-12 22:57:24 +00:00
application doc: Remove contributor documentation moved to wiki 2016-08-04 22:01:10 +00:00
bluetooth Bluetooth: doc: Add L2CAP PICS file 2016-02-16 13:50:00 +01:00
board board: nitrogen: Add support for the Nitrogen board 2016-07-29 14:08:06 +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: Terminology--Replace 'platform' with 'board' 2016-08-12 22:57:24 +00:00
getting_started Make outdir board-specific to avoid build collisions 2016-08-27 11:48:05 +00:00
introduction doc: Relocate and revise "System Fundamentals" material 2016-07-08 19:39:10 +00:00
kernel doc: Terminology--Replace 'platform' with 'board' 2016-08-12 22:57:24 +00:00
porting doc: Terminology--Replace 'platform' with 'board' 2016-08-12 22:57:24 +00:00
reference doc: Terminology--Replace 'platform' with 'board' 2016-08-12 22:57:24 +00:00
scripts/genrest doc: fix missing titles on kconfig reference entry HTML files 2016-06-17 16:45:08 +00:00
subsystems doc: Add more content for networking documentation 2016-08-24 16:00:36 +03:00
themes/zephyr
conf.py
doxygen.config doc: do not generate unused doxygen HTML and Latex output by default 2016-07-06 21:56:39 +00:00
index.rst doc: remove 1.5 doc link until after release 2016-08-22 15:40:33 -07:00
Makefile doc: makefile doesn't print unneeded output of pwd 2016-08-02 06:47:21 +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