blob: 240b3a26b19fda3c5d94821387da49dbd58f744b [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
Paul Vinciguerra7fa3dd22019-10-27 17:28:10 -040013This document is also an example of a directory structure for a document that spans multiple pages.
John DeNisco06dcd452018-07-26 12:45:10 -040014Notice 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