pekko/akka-docs/dev/documentation.rst

70 lines
1.3 KiB
ReStructuredText
Raw Normal View History

2011-04-20 19:49:06 +12:00
2011-04-21 13:34:26 +12:00
.. highlightlang:: rest
.. _documentation:
###############
Documentation
###############
The Akka documentation uses `reStructuredText`_ as its markup language and is
built using `Sphinx`_.
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
.. _sphinx: http://sphinx.pocoo.org
2011-04-20 19:49:06 +12:00
Sphinx
2011-04-21 13:34:26 +12:00
======
2011-04-20 19:49:06 +12:00
More to come...
reStructuredText
2011-04-21 13:34:26 +12:00
================
2011-04-20 19:49:06 +12:00
More to come...
2011-04-21 13:34:26 +12:00
Sections
--------
Section headings are very flexible in reST. We use the following convention in
the Akka documentation:
* ``#`` (over and under) for module headings
* ``=`` for sections
* ``-`` for subsections
* ``^`` for subsubsections
* ``~`` for subsubsubsections
Cross-referencing
-----------------
Sections that may be cross-referenced across the documentation should be marked
with a reference. To mark a section use ``.. _ref-name:`` before the section
heading. The section can then be linked with ``:ref:`ref-name```. These are
unique references across the entire documentation.
For example::
.. _akka-module:
#############
Akka Module
#############
This is the module documentation.
.. _akka-section:
Akka Section
============
Akka Subsection
---------------
Here is a reference to "akka section": :ref:`akka-section` which will have the
name "Akka Section".