Normalize headings according to "reStructuredText Primer" 45/23845/1
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Tue, 1 Nov 2016 12:19:56 +0000 (20:19 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Tue, 1 Nov 2016 12:19:56 +0000 (20:19 +0800)
[1]: http://www.sphinx-doc.org/en/stable/rest.html

Change-Id: Ie7530846e0b3683118422ed6ce24e0cd5af94a6e
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
CONTRIBUTING.rst
docs/apidocs/index.rst
docs/apidocs/qtip_restful_api.rst
docs/configguide/configuration.rst
docs/configguide/index.rst
docs/overview/index.rst
docs/overview/overview.rst
docs/userguide/index.rst
docs/userguide/introduction.rst

index d3e21b8..6350a86 100644 (file)
@@ -56,6 +56,22 @@ Specially, it is recommended to link each patch set with a JIRA issue. Put
 
 in commit message to create an automatic link.
 
+*************
+Documentation
+*************
+
+The documents are built automatically by sphinx from reStructuredText (reST).
+Please read `reStructuredText Primer`_ if you are not familiar with it.
+
+A cheat sheet for headings are as following
+
+* # with overline, for parts
+* * with overline, for chapters
+* =, for sections
+* -, for subsections
+* ^, for subsubsections
+* ", for paragraphs
+
 ************************
 Frequent Asked Questions
 ************************
@@ -76,4 +92,5 @@ to submit. The current members are listed in `INFO`_.
 .. _OPNFV Releases: https://wiki.opnfv.org/display/SWREL
 .. _Issue Types: https://jira.opnfv.org/secure/ShowConstantsHelp.jspa?decorator=popup#IssueTypes
 .. _OpenStack Style Guidelines: http://docs.openstack.org/developer/hacking/
-.. _INFO: https://git.opnfv.org/cgit/qtip/tree/INFO
\ No newline at end of file
+.. _INFO: https://git.opnfv.org/cgit/qtip/tree/INFO
+.. _reStructuredText Primer: http://www.sphinx-doc.org/en/stable/rest.html
index 916fab0..241a268 100644 (file)
@@ -3,9 +3,9 @@
 .. (c) 2015 Dell Inc.
 .. (c) 2016 ZTE Corp.
 
-****************
+################
 QTIP Configguide
-****************
+################
 
 .. toctree::
    :maxdepth: 2
index ca77224..3f3297d 100644 (file)
@@ -3,8 +3,8 @@
 .. (c) 2015 Dell Inc.
 .. (c) 2016 ZTE Corp.
 
-
+****************
 Qtip restful api
-================
+****************
 
 You can get all the Qtip restful api by http://qtip_server_ip:5000/api/spec.html.
index d6d2fd5..78e9649 100644 (file)
@@ -16,7 +16,7 @@ to configure OPNFV with this specific installer
 
 
 Installing QTIP using Docker
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+============================
 
 QTIP has a Docker images on the docker hub. Pulling opnfv/qtip docker image
 from docker hub:
@@ -50,11 +50,11 @@ be navigated to using the following command.
 
 
 OpenStack parameters and credentials
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+====================================
 
 
 Environment variables
-"""""""""""""""""""""
+---------------------
 
 Before running QTIP it is necessary to export OpenStack environment variables
 from the OpenStack *openrc* file. This can be done by running the following
@@ -69,7 +69,7 @@ environment variables.
 
 
 QTIP  default key pair
-""""""""""""""""""""""
+----------------------
 
 QTIP uses a SSH key pair to connect to the guest image. You should generate key pair
 before running QTIP test. And put key pair in the ``config/`` directory.
index 291a809..d5e05d6 100644 (file)
@@ -4,9 +4,9 @@
 .. (c) 2016 ZTE Corp.
 
 
-=================
+#################
 QTIP Config Guide
-=================
+#################
 
 .. toctree::
    :maxdepth: 2
index 731b8d4..9a38736 100644 (file)
@@ -3,9 +3,10 @@
 .. (c) 2016 ZTE Corp.
 
 
-=====================
+
+#####################
 QTIP Project Overview
-=====================
+#####################
 
 .. toctree::
    :maxdepth: 2
index aa09c7c..4fd4235 100644 (file)
@@ -3,9 +3,9 @@
 .. (c) 2015 Dell Inc.
 .. (c) 2016 ZTE Corp.
 
-========
+********
 Overview
-========
+********
 
 .. _QTIP: https://wiki.opnfv.org/platform_performance_benchmarking
 
index 5ae4f34..4be3e49 100644 (file)
@@ -4,9 +4,9 @@
 .. (c) 2016 ZTE Corp.
 
 
-===============
+###############
 QTIP User Guide
-===============
+###############
 
 .. toctree::
    :maxdepth: 2
index 4876d0e..d0d9f3c 100644 (file)
@@ -13,8 +13,8 @@ run QTIP the first time when the user pull QTIP image on to their host machine.
 In order to install and config QTIP please follow the instructions in the
 configuration.rst located in docs/configguide/configuration.rst.
 
-QTIP Directory structure:
--------------------------
+QTIP Directory structure
+========================
 
 The QTIP directory has been sectioned off into multiple folders to facilitate
  segmenting information into relevant categories. The folders that concern