blob: 443476f83b6bd17470aca9c234a1f03c94608b0d [file] [log] [blame]
John DeNisco06dcd452018-07-26 12:45:10 -04001.. _styleguide:
2
3#############################
4reStructured Text Style Guide
5#############################
6
7Most of the these documents are written ins reStructured Text (rst). This chapter describes some of
8the Sphinx Markup Constructs used in these documents. The Sphinx style guide can be found at:
9`Sphinx Style Guide <http://documentation-style-guide-sphinx.readthedocs.io/en/latest/style-guide.html>`_
10For a more detailed list of Sphinx Markup Constructs please refer to:
11`Sphinx Markup Constructs <http://www.sphinx-doc.org/en/stable/markup/index.html>`_
12
13This document is also an example of a directory structure for a document that spans mutliple pages.
14Notice we have the file **index.rst** and the then documents that are referenced in index.rst. The
15referenced documents are shown at the bottom of this page.
16
17A label is shown at the top of this page. Then the first construct describes a the document title
18**FD.io Style Guide**. Text usually follows under each title or heading.
19
20A **Table of Contents** structure is shown below. Using **toctree** in this way will show the headings
21in a nicely in the generated documents.
22
23.. toctree::
andrewdf50b452018-08-09 13:23:59 -040024 :maxdepth: 2
John DeNisco06dcd452018-07-26 12:45:10 -040025
andrewdf50b452018-08-09 13:23:59 -040026 styleguide.rst
27 styleguide02.rst
28 styleguide02table.rst
29 styleguide03.rst
30 styleguide04.rst
31 styleguide05.rst