From 06dcd45ff81e06bc8cf40ed487c0b2652d346a5a Mon Sep 17 00:00:00 2001 From: John DeNisco Date: Thu, 26 Jul 2018 12:45:10 -0400 Subject: Initial commit of Sphinx docs Change-Id: I9fca8fb98502dffc2555f9de7f507b6f006e0e77 Signed-off-by: John DeNisco --- .../writingdocs/styleguide/index.rst | 30 ++++++ .../writingdocs/styleguide/iperf-vm.xml | 106 +++++++++++++++++++++ .../writingdocs/styleguide/rawhtml.rst | 10 ++ .../writingdocs/styleguide/styleguide.rst | 20 ++++ .../writingdocs/styleguide/styleguide02.rst | 83 ++++++++++++++++ .../writingdocs/styleguide/styleguide02table.rst | 76 +++++++++++++++ .../writingdocs/styleguide/styleguide03.rst | 32 +++++++ .../writingdocs/styleguide/styleguide04.rst | 12 +++ .../writingdocs/styleguide/styleguide05.rst | 11 +++ .../writingdocs/styleguide/xmlexample.rst | 11 +++ 10 files changed, 391 insertions(+) create mode 100644 docs/gettingstarted/writingdocs/styleguide/index.rst create mode 100644 docs/gettingstarted/writingdocs/styleguide/iperf-vm.xml create mode 100644 docs/gettingstarted/writingdocs/styleguide/rawhtml.rst create mode 100644 docs/gettingstarted/writingdocs/styleguide/styleguide.rst create mode 100644 docs/gettingstarted/writingdocs/styleguide/styleguide02.rst create mode 100644 docs/gettingstarted/writingdocs/styleguide/styleguide02table.rst create mode 100644 docs/gettingstarted/writingdocs/styleguide/styleguide03.rst create mode 100644 docs/gettingstarted/writingdocs/styleguide/styleguide04.rst create mode 100644 docs/gettingstarted/writingdocs/styleguide/styleguide05.rst create mode 100644 docs/gettingstarted/writingdocs/styleguide/xmlexample.rst (limited to 'docs/gettingstarted/writingdocs/styleguide') diff --git a/docs/gettingstarted/writingdocs/styleguide/index.rst b/docs/gettingstarted/writingdocs/styleguide/index.rst new file mode 100644 index 00000000000..79d28c37493 --- /dev/null +++ b/docs/gettingstarted/writingdocs/styleguide/index.rst @@ -0,0 +1,30 @@ +.. _styleguide: + +############################# +reStructured Text Style Guide +############################# + +Most of the these documents are written ins reStructured Text (rst). This chapter describes some of +the Sphinx Markup Constructs used in these documents. The Sphinx style guide can be found at: +`Sphinx Style Guide `_ +For a more detailed list of Sphinx Markup Constructs please refer to: +`Sphinx Markup Constructs `_ + +This document is also an example of a directory structure for a document that spans mutliple pages. +Notice we have the file **index.rst** and the then documents that are referenced in index.rst. The +referenced documents are shown at the bottom of this page. + +A label is shown at the top of this page. Then the first construct describes a the document title +**FD.io Style Guide**. Text usually follows under each title or heading. + +A **Table of Contents** structure is shown below. Using **toctree** in this way will show the headings +in a nicely in the generated documents. + +.. toctree:: + + styleguide.rst + styleguide02.rst + styleguide02table.rst + styleguide03.rst + styleguide04.rst + styleguide05.rst diff --git a/docs/gettingstarted/writingdocs/styleguide/iperf-vm.xml b/docs/gettingstarted/writingdocs/styleguide/iperf-vm.xml new file mode 100644 index 00000000000..be354c5f977 --- /dev/null +++ b/docs/gettingstarted/writingdocs/styleguide/iperf-vm.xml @@ -0,0 +1,106 @@ + + iperf-server + 1048576 + 1048576 + + + + + + 1 + + /machine + + + hvm + + + + + + + + + + + + + + + + + + destroy + restart + restart + + + + + + /usr/bin/kvm + + + + + + +
+ + + + + + + + +
+ + + +
+ + + + + + +
+ + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + libvirt-2c4c9317-c7a5-4b37-b789-386ccda7348a + + + diff --git a/docs/gettingstarted/writingdocs/styleguide/rawhtml.rst b/docs/gettingstarted/writingdocs/styleguide/rawhtml.rst new file mode 100644 index 00000000000..e94eb452312 --- /dev/null +++ b/docs/gettingstarted/writingdocs/styleguide/rawhtml.rst @@ -0,0 +1,10 @@ +.. _rawhtml01: + +Raw HTML Example +================ + +This example shows how to include include a CSIT performance graph. + +.. raw:: html + +