summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/_templates/relations.html15
-rw-r--r--docs/conf.py3
-rw-r--r--docs/how-to-use-docs/addendum.rst79
-rw-r--r--docs/how-to-use-docs/documentation-example.rst231
-rw-r--r--docs/how-to-use-docs/index.rst1
-rw-r--r--docs/release/installation.introduction.rst6
-rw-r--r--docs/release/overview.rst6
-rw-r--r--docs/release/release-notes.rst6
-rw-r--r--docs/release/subrelease.rst5
-rw-r--r--docs/release/userguide.introduction.rst6
-rw-r--r--docs/testing/ecosystem/index.rst6
-rw-r--r--docs/testing/testing-dev.rst14
-rw-r--r--docs/testing/testing-user.rst35
13 files changed, 140 insertions, 273 deletions
diff --git a/docs/_templates/relations.html b/docs/_templates/relations.html
new file mode 100644
index 000000000..5bad0b562
--- /dev/null
+++ b/docs/_templates/relations.html
@@ -0,0 +1,15 @@
+<center>
+<div class="btn-group" role="group" aria-label="...">
+ {% if prev %}
+ <a class="btn btn-default" href="{{ prev.link|e }}">Prev Page</a>
+ {% else %}
+ <button type="button" class="btn btn-default disabled">Prev Page</button>
+ {% endif %}
+
+ {% if next %}
+ <a class="btn btn-default" href="{{ next.link|e }}">Next Page</a>
+ {% else %}
+ <button type="button" class="btn btn-default disabled">Next Page</button>
+ {% endif %}
+</div>
+</center> \ No newline at end of file
diff --git a/docs/conf.py b/docs/conf.py
index e68bf8dc8..38a8c8121 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -103,6 +103,7 @@ html_theme = 'bootstrap'
# html_theme_options = {}
html_theme_options = {
'bootswatch_theme': "journal",
+ 'navbar_sidebarrel': False,
}
# Add any paths that contain custom themes here, relative to this directory.
@@ -264,7 +265,7 @@ texinfo_documents = [
'Miscellaneous'),
]
-html_sidebars = {'**': ['my_custom_sidebar.html']}
+html_sidebars = {'**': ['localtoc.html', 'relations.html'],}
# Documents to append as an appendix to all manuals.
# texinfo_appendices = []
diff --git a/docs/how-to-use-docs/addendum.rst b/docs/how-to-use-docs/addendum.rst
new file mode 100644
index 000000000..d36cd5a15
--- /dev/null
+++ b/docs/how-to-use-docs/addendum.rst
@@ -0,0 +1,79 @@
+========
+Addendum
+========
+
+Index File
+==========
+
+The index file must relatively refence your other rst files in that directory.
+
+Here is an example index.rst :
+
+.. code-block:: bash
+
+ *******************
+ Documentation Title
+ *******************
+
+ .. toctree::
+ :numbered:
+ :maxdepth: 2
+
+ documentation-example
+
+Source Files
+============
+
+Document source files have to be written in reStructuredText format (rst).
+Each file would be build as an html page.
+
+Here is an example source rst file :
+
+.. code-block:: bash
+
+ =============
+ Chapter Title
+ =============
+
+ Section Title
+ =============
+
+ Subsection Title
+ ----------------
+
+ Hello!
+
+Writing RST Markdown
+====================
+
+See http://sphinx-doc.org/rest.html .
+
+**Hint:**
+You can add dedicated contents by using 'only' directive with build type
+('html' and 'singlehtml') for OPNFV document. But, this is not encouraged to
+use since this may make different views.
+
+.. code-block:: bash
+
+ .. only:: html
+ This line will be shown only in html version.
+
+Verify Job
+----------
+
+The verify job name is **docs-verify-rtd-{branch}**.
+
+When you send document changes to gerrit, jenkins will create your documents
+in HTML formats (normal and single-page) to verify that new document can be
+built successfully. Please check the jenkins log and artifact carefully.
+You can improve your document even though if the build job succeeded.
+
+Merge Job
+----------
+
+The merge job name is **docs-merge-rtd-{branch}**.
+
+Once the patch is merged, jenkins will automatically trigger building of
+the new documentation. This might take about 15 minutes while readthedocs
+builds the documentatation. The newly built documentation shall show up
+as appropriate placed in docs.opnfv.org/{branch}/path-to-file. \ No newline at end of file
diff --git a/docs/how-to-use-docs/documentation-example.rst b/docs/how-to-use-docs/documentation-example.rst
deleted file mode 100644
index 16609e068..000000000
--- a/docs/how-to-use-docs/documentation-example.rst
+++ /dev/null
@@ -1,231 +0,0 @@
-==================================================
-How to create documentation for your OPNFV project
-==================================================
-
-Directory Structure
-===================
-
-This is the directory structure of the docs/ directory which have to be placed
-in the root of your project directory.
-
-.. code-block:: bash
-
- ./how-to-use-docs/documentation-example.rst
- ./how-to-use-docs/index.rst
-
-To create your own document, create any number of directories (depending
-on your need, e.g. manual) under the docs/ and place an index.rst in each
-directories.
-The depth of all directory should be one, so that you can make sure that
-all directory names are unique. If you want to have set of all documents in
-your repo, create new ``docs/all/index.rst`` and list document links in OPNFV
-artifact server (artifact.opnfv.org) instead of including all other rst files
-or having ``docs/index.rst``, in order to avoid having duplicated contents in
-your documents.
-
-Note:
-You may have "docs/how-to-use-docs/" in you project repo. You can delete it,
-since it is sample and master version is stored in opnfvdocs repo.
-
-Note:
-During the document build process, 'docs_build' and 'docs_output' will be
-created in the project root directory. To avoid conflict, you should not
-use those names and should add the following entries in '.gitignore' file
-so that git can ignore built files.
-
-.. code-block:: bash
-
- /docs_build/
- /docs_output/
-
-Index File
-==========
-
-This index file must refence your other rst files in that directory.
-
-Here is an example index.rst :
-
-.. code-block:: bash
-
- *******************
- Documentation Title
- *******************
-
- .. toctree::
- :numbered:
- :maxdepth: 2
-
- documentation-example.rst
-
-Source Files
-============
-
-Document source files have to be written in reStructuredText format (rst).
-Each file would be build as an html page.
-
-Here is an example source rst file :
-
-.. code-block:: bash
-
- =============
- Chapter Title
- =============
-
- Section Title
- =============
-
- Hello!
-
-Writing RST Markdown
-====================
-
-See http://sphinx-doc.org/rest.html .
-
-**Hint:**
-You can add dedicated contents by using 'only' directive with build type
-('html' and 'singlehtml') for OPNFV document. But, this is not encouraged to
-use since this may make different views.
-
-.. code-block:: bash
-
- .. only:: html
- This line will be shown only in html version.
-
-Configuration
-=============
-
-If you need to change the default configuration for document build, create
-new conf.py in the document directory (e.g. 'docs/how-to-use-docs/conf.py')
-that will be used in build process instead of default for OPNFV document
-build.
-During the build process, the following default parameters are automatically
-added if they are not set in the ``conf.py``.
-
-* **extensions** =
- ['sphinxcontrib.httpdomain',
- 'sphinx.ext.autodoc',
- 'sphinx.ext.viewcode',
- 'sphinx.ext.napoleon']
-* **needs_sphinx** = '1.3'
-* **numfig** = True
-* **master_doc** = 'index'
-* **pygments_style** = 'sphinx'
-* **html_use_index** = False
-* **html_logo** = 'opnfv-logo.png'
-* **html_sidebars** = {'**': ['globaltoc.html',
- '``path to opnfvdocs dir``/etc/pagemenu.html',
- 'searchbox.html']}
-* **release** = '``git last tag name`` (``git last commit hash``)'
-* **version** = '``git last tag name`` (``git last commit hash``)'
-* **project** = '``git repo name``'
-* **copyright** = '``year``, OPNFV'
-* **rst_epilog** = ' Revision:``git last commit hash``\n Build date:``build date in year-month-date format``'
-
-**Note:**
-You can leave the file path for OPNFV logo image which will be prepared
-before each document build.
-
-Versioning
-==========
-
-The relevant release and version information will be added to your documents
-by using tags from your project's git repository.
-The tags will be applied by Releng Project.
-
-Testing
-=======
-
-You can test document build in your laptop by using build script which is
-also used in document build jobs below:
-
-.. code-block:: bash
-
- $ sudo pip install virtualenv
- $ cd /local/repo/path/to/project
- $ git clone https://git.opnfv.org/opnfvdocs docs_build/_opnfvdocs
- $ ./docs_build/_opnfvdocs/scripts/docs-build.sh
-
-Then, you can see the docs in 'docs_output' directory if build succeeded.
-
-If you have a problem of missing python package, you can make sure all
-necessary packages are installed as follows:
-
-.. code-block:: bash
-
- $ sudo pip install Sphinx==1.3.1 doc8 sphinxcontrib-httpdomain
-
-Note:
-Developers are encouraged to use
-"ssh://<username>@gerrit.opnfv.org:29418/opnfvdocs"
-instead of "https://git.opnfv.org/opnfvdocs", so that you can quickly start
-development in opnfvdocs.
-See https://wiki.opnfv.org/display/DEV/Developer+Getting+Started for more detail.
-
-
-Jenkins Jobs
-============
-
-Enabling Jenkins Jobs
----------------------
-
-Jenkins in OPNFV infra performs the jobs to verify and update your documents.
-To make your project repository watched by Jenkins to execute those jobs, you
-have to add your project name in 'project-pattern' of the following jobs by
-sending patch to update `jjb/opnfv/opnfv-docs.yml`_ on gerrit.
-
-.. _jjb/opnfv/opnfv-docs.yml:
- https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=jjb/opnfv/opnfv-docs.yml;
-
-Verify Job
-----------
-
-The verify job name is **opnfv-docs-verify**.
-
-When you send document changes to gerrit, jenkins will create your documents
-in HTML formats (normal and single-page) to verify that new document can be
-built successfully. Please check the jenkins log and artifact carefully.
-You can improve your document even though if the build job succeeded.
-
-Documents will be uploaded to
-``http://artifacts.opnfv.org/review/<Change Number>/`` for review.
-Those documents will be replaced if you update the change by sending new
-patch set to gerrit, and deleted after the change is merged.
-Document link(s) can be found in your change page on gerrit as a review
-comment.
-
-Merge Job
-----------
-
-The merge job name is **opnfv-docs-merge**.
-
-Once you are happy with the look of your documentation, you can submit the
-change. Then, the merge job will upload latest build documents to
-``http://artifacts.opnfv.org/<Project Name>/docs/`` .
-You can put links in your project wiki page, so that everyone can see the
-latest document always.
-
-Sphinx Extensions
-=================
-
-You can see available sphinx extension(s) in `opnfvdocs/etc/requirements.txt`_.
-
-.. _opnfvdocs/etc/requirements.txt:
- https://gerrit.opnfv.org/gerrit/gitweb?p=opnfvdocs.git;a=blob;f=etc/requirements.txt;
-
-You can use other sphinx extensions to improve your documents.
-To share such improvements, we encourage you to enable the extension in OPNFV infra
-by asking releng and opnfvdocs teams to add new sphinx extension via gerrit
-(proposing change in `opnfvdocs/scripts/docs-build.sh`_ and `opnfvdocs/etc/requirements.txt`_).
-After quick sanity checks, we'll merge the patch to make it available in OPNFV
-document build.
-
-.. _opnfvdocs/scripts/docs-build.sh:
- https://gerrit.opnfv.org/gerrit/gitweb?p=opnfvdocs.git;a=blob;f=scripts/docs-build.sh;
-
-Hooks
-=====
-
-The document builder script supports pre-hook. If you need to execute some
-commands before starting to build process (e.g. generate API rst from codes),
-create '<your repo>/docs/pre-hook.sh' which will be executed (using 'source')
-once before all document build start.
diff --git a/docs/how-to-use-docs/index.rst b/docs/how-to-use-docs/index.rst
index 9c52a6021..424f47189 100644
--- a/docs/how-to-use-docs/index.rst
+++ b/docs/how-to-use-docs/index.rst
@@ -9,3 +9,4 @@ Documentation Guide
documentation-guide
include-documentation
+ addendum
diff --git a/docs/release/installation.introduction.rst b/docs/release/installation.introduction.rst
index 7a1cc4eb2..80ede186b 100644
--- a/docs/release/installation.introduction.rst
+++ b/docs/release/installation.introduction.rst
@@ -4,9 +4,9 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. (c) Sofia Wallin Ericsson AB
-====================
-OPNFV Installation
-====================
+=============
+Installation
+=============
Abstract
========
diff --git a/docs/release/overview.rst b/docs/release/overview.rst
index 8ba26078e..ce1e1a4c3 100644
--- a/docs/release/overview.rst
+++ b/docs/release/overview.rst
@@ -4,9 +4,9 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. (c) Open Platform for NFV Project, Inc. and its contributors
-===============
-OPNFV Overview
-===============
+================
+Platform verview
+================
Introduction
============
diff --git a/docs/release/release-notes.rst b/docs/release/release-notes.rst
index 6471a56de..ad37c8b99 100644
--- a/docs/release/release-notes.rst
+++ b/docs/release/release-notes.rst
@@ -3,9 +3,9 @@
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
-===================
-OPNFV Release Notes
-===================
+==============
+Release Notes
+==============
Release notes as provided by the OPNFV participating documents are captured in this section.
These include details of software versions used, known limitations and outstanding trouble
diff --git a/docs/release/subrelease.rst b/docs/release/subrelease.rst
index ffcb60cf9..4976186a4 100644
--- a/docs/release/subrelease.rst
+++ b/docs/release/subrelease.rst
@@ -1,5 +1,6 @@
-OPNFV Subrelease Guides
-=======================
+==================
+Subrelease Guides
+==================
Apex
-----
diff --git a/docs/release/userguide.introduction.rst b/docs/release/userguide.introduction.rst
index fbde6ce63..5a83b031a 100644
--- a/docs/release/userguide.introduction.rst
+++ b/docs/release/userguide.introduction.rst
@@ -4,9 +4,9 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. (c) Sofia Wallin (sofia.wallin@ericssion.com)
-======================================
-OPNFV User Guide & Configuration Guide
-======================================
+=================================
+User Guide & Configuration Guide
+=================================
Abstract
========
diff --git a/docs/testing/ecosystem/index.rst b/docs/testing/ecosystem/index.rst
index 6520dc160..f51fa19b0 100644
--- a/docs/testing/ecosystem/index.rst
+++ b/docs/testing/ecosystem/index.rst
@@ -2,9 +2,9 @@
.. http://creativecommons.org/licenses/by/4.0
.. (c) Christopher Price (Ericsson AB)
-=============================
-OPNFV Test Framework Overview
-=============================
+========================
+Test Framework Overview
+========================
.. toctree::
:maxdepth: 2
diff --git a/docs/testing/testing-dev.rst b/docs/testing/testing-dev.rst
index 9ad238a15..3716acd19 100644
--- a/docs/testing/testing-dev.rst
+++ b/docs/testing/testing-dev.rst
@@ -7,20 +7,20 @@
Testing Developer Guides
========================
-Functest
----------
+Bottlenecks
+------------
.. toctree::
:maxdepth: 1
- ../submodules/functest/docs/testing/developer/devguide/index
+ ../submodules/bottlenecks/docs/testing/developer/devguide/index
-Bottlenecks
-------------
+Functest
+---------
.. toctree::
:maxdepth: 1
- ../submodules/bottlenecks/docs/testing/developer/devguide/index
+ ../submodules/functest/docs/testing/developer/devguide/index
QTIP
@@ -39,7 +39,7 @@ VSPERF
../submodules/vswitchperf/docs/testing/developer/index
-YARDSTICK
+Yardstick
---------
.. toctree::
:maxdepth: 1
diff --git a/docs/testing/testing-user.rst b/docs/testing/testing-user.rst
index ac205a0a0..198b090e6 100644
--- a/docs/testing/testing-user.rst
+++ b/docs/testing/testing-user.rst
@@ -7,15 +7,6 @@
Testing User Guides
===================
-Functest
----------
-.. toctree::
- :maxdepth: 1
-
- ../submodules/functest/docs/testing/user/configguide/index
- ../submodules/functest/docs/testing/user/userguide/index
-
-
Bottlenecks
------------
.. toctree::
@@ -25,13 +16,13 @@ Bottlenecks
../submodules/bottlenecks/docs/testing/user/userguide/index
-Yardstick
-----------
+Functest
+---------
.. toctree::
:maxdepth: 1
- ../submodules/yardstick/docs/testing/user/configguide/index
- ../submodules/yardstick/docs/testing/user/userguide/index
+ ../submodules/functest/docs/testing/user/configguide/index
+ ../submodules/functest/docs/testing/user/userguide/index
QTIP
@@ -43,6 +34,15 @@ QTIP
../submodules/qtip/docs/testing/user/userguide/index
+Storperf
+--------
+
+.. toctree::
+ :maxdepth: 1
+
+ ../submodules/storperf/docs/testing/user/index
+
+
VSPERF
------
@@ -53,12 +53,13 @@ VSPERF
../submodules/vswitchperf/docs/testing/user/userguide/index
-Storperf
---------
-
+Yardstick
+----------
.. toctree::
:maxdepth: 1
- ../submodules/storperf/docs/testing/user/index
+ ../submodules/yardstick/docs/testing/user/configguide/index
+ ../submodules/yardstick/docs/testing/user/userguide/index
+