summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitmodules43
-rw-r--r--docs/featureprojects.rst19
-rw-r--r--docs/how-to-use-docs/documentation-guide.rst116
-rw-r--r--docs/how-to-use-docs/include-documentation.rst85
-rw-r--r--docs/index.rst2
5 files changed, 255 insertions, 10 deletions
diff --git a/.gitmodules b/.gitmodules
index 3531025ed..39fa8f8d5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -2,171 +2,214 @@
path = docs/submodules/apex
url = https://gerrit.opnfv.org/gerrit/apex
branch = .
+ shallow = true
[submodule "docs/submodules/armband"]
path = docs/submodules/armband
url = https://gerrit.opnfv.org/gerrit/armband
branch = .
+ shallow = true
[submodule "docs/submodules/bottlenecks"]
path = docs/submodules/bottlenecks
url = https://gerrit.opnfv.org/gerrit/bottlenecks
branch = .
+ shallow = true
[submodule "docs/submodules/compass4nfv"]
path = docs/submodules/compass4nfv
url = https://gerrit.opnfv.org/gerrit/compass4nfv
branch = .
+ shallow = true
[submodule "docs/submodules/conductor"]
path = docs/submodules/conductor
url = https://gerrit.opnfv.org/gerrit/conductor
branch = .
+ shallow = true
[submodule "docs/submodules/copper"]
path = docs/submodules/copper
url = https://gerrit.opnfv.org/gerrit/copper
branch = .
+ shallow = true
[submodule "docs/submodules/daisy"]
path = docs/submodules/daisy
url = https://gerrit.opnfv.org/gerrit/daisy
branch = .
+ shallow = true
[submodule "docs/submodules/domino"]
path = docs/submodules/domino
url = https://gerrit.opnfv.org/gerrit/domino
branch = .
+ shallow = true
[submodule "docs/submodules/dpacc"]
path = docs/submodules/dpacc
url = https://gerrit.opnfv.org/gerrit/dpacc
branch = .
+ shallow = true
[submodule "docs/submodules/enfv"]
path = docs/submodules/enfv
url = https://gerrit.opnfv.org/gerrit/enfv
branch = .
+ shallow = true
[submodule "docs/submodules/escalator"]
path = docs/submodules/escalator
url = https://gerrit.opnfv.org/gerrit/escalator
branch = .
+ shallow = true
[submodule "docs/submodules/fastpathmetrics"]
path = docs/submodules/fastpathmetrics
url = https://gerrit.opnfv.org/gerrit/fastpathmetrics
branch = .
+ shallow = true
[submodule "docs/submodules/fds"]
path = docs/submodules/fds
url = https://gerrit.opnfv.org/gerrit/fds
branch = .
+ shallow = true
[submodule "docs/submodules/fuel"]
path = docs/submodules/fuel
url = https://gerrit.opnfv.org/gerrit/fuel
branch = .
+ shallow = true
[submodule "docs/submodules/functest"]
path = docs/submodules/functest
url = https://gerrit.opnfv.org/gerrit/functest
branch = .
+ shallow = true
[submodule "docs/submodules/genesisreq"]
path = docs/submodules/genesisreq
url = https://gerrit.opnfv.org/gerrit/genesisreq
branch = .
+ shallow = true
[submodule "docs/submodules/inspector"]
path = docs/submodules/inspector
url = https://gerrit.opnfv.org/gerrit/inspector
branch = .
+ shallow = true
[submodule "docs/submodules/ipv6"]
path = docs/submodules/ipv6
url = https://gerrit.opnfv.org/gerrit/ipv6
branch = .
+ shallow = true
[submodule "docs/submodules/joid"]
path = docs/submodules/joid
url = https://gerrit.opnfv.org/gerrit/joid
branch = .
+ shallow = true
[submodule "docs/submodules/kvmfornfv"]
path = docs/submodules/kvmfornfv
url = https://gerrit.opnfv.org/gerrit/kvmfornfv
branch = .
+ shallow = true
[submodule "docs/submodules/lsoapi"]
path = docs/submodules/lsoapi
url = https://gerrit.opnfv.org/gerrit/lsoapi
branch = .
+ shallow = true
[submodule "docs/submodules/moon"]
path = docs/submodules/moon
url = https://gerrit.opnfv.org/gerrit/moon
branch = .
+ shallow = true
[submodule "docs/submodules/multisite"]
path = docs/submodules/multisite
url = https://gerrit.opnfv.org/gerrit/multisite
branch = .
+ shallow = true
[submodule "docs/submodules/netready"]
path = docs/submodules/netready
url = https://gerrit.opnfv.org/gerrit/netready
branch = .
+ shallow = true
[submodule "docs/submodules/octopus"]
path = docs/submodules/octopus
url = https://gerrit.opnfv.org/gerrit/octopus
branch = .
+ shallow = true
[submodule "docs/submodules/onosfw"]
path = docs/submodules/onosfw
url = https://gerrit.opnfv.org/gerrit/onosfw
branch = .
+ shallow = true
[submodule "docs/submodules/ovsnfv"]
path = docs/submodules/ovsnfv
url = https://gerrit.opnfv.org/gerrit/ovsnfv
branch = .
+ shallow = true
[submodule "docs/submodules/parser"]
path = docs/submodules/parser
url = https://gerrit.opnfv.org/gerrit/parser
branch = .
+ shallow = true
[submodule "docs/submodules/pharos"]
path = docs/submodules/pharos
url = https://gerrit.opnfv.org/gerrit/pharos
branch = .
+ shallow = true
[submodule "docs/submodules/prediction"]
path = docs/submodules/prediction
url = https://gerrit.opnfv.org/gerrit/prediction
branch = .
+ shallow = true
[submodule "docs/submodules/promise"]
path = docs/submodules/promise
url = https://gerrit.opnfv.org/gerrit/promise
branch = .
+ shallow = true
[submodule "docs/submodules/qtip"]
path = docs/submodules/qtip
url = https://gerrit.opnfv.org/gerrit/qtip
branch = .
+ shallow = true
[submodule "docs/submodules/releng"]
path = docs/submodules/releng
url = https://gerrit.opnfv.org/gerrit/releng
branch = .
+ shallow = true
[submodule "docs/submodules/sdnvpn"]
path = docs/submodules/sdnvpn
url = https://gerrit.opnfv.org/gerrit/sdnvpn
branch = .
+ shallow = true
[submodule "docs/submodules/sfc"]
path = docs/submodules/sfc
url = https://gerrit.opnfv.org/gerrit/sfc
branch = .
+ shallow = true
[submodule "docs/submodules/storperf"]
path = docs/submodules/storperf
url = https://gerrit.opnfv.org/gerrit/storperf
branch = .
+ shallow = true
[submodule "docs/submodules/ves"]
path = docs/submodules/ves
url = https://gerrit.opnfv.org/gerrit/ves
branch = .
+ shallow = true
[submodule "docs/submodules/vnf_forwarding_graph"]
path = docs/submodules/vnf_forwarding_graph
url = https://gerrit.opnfv.org/gerrit/vnf_forwarding_graph
branch = .
+ shallow = true
[submodule "docs/submodules/vswitchperf"]
path = docs/submodules/vswitchperf
url = https://gerrit.opnfv.org/gerrit/vswitchperf
branch = .
+ shallow = true
[submodule "docs/submodules/yardstick"]
path = docs/submodules/yardstick
url = https://gerrit.opnfv.org/gerrit/yardstick
branch = .
+ shallow = true
[submodule "docs/submodules/doctor"]
path = docs/submodules/doctor
url = https://gerrit.opnfv.org/gerrit/doctor
branch = .
+ shallow = true
[submodule "docs/submodules/availability"]
path = docs/submodules/availability
url = https://gerrit.opnfv.org/gerrit/availability
branch = .
+ shallow = true
[submodule "docs/submodules/dovetail"]
path = docs/submodules/dovetail
url = https://gerrit.opnfv.org/gerrit/dovetail
branch = .
+ shallow = true
diff --git a/docs/featureprojects.rst b/docs/featureprojects.rst
index 0869149cb..4d70dd6d6 100644
--- a/docs/featureprojects.rst
+++ b/docs/featureprojects.rst
@@ -9,6 +9,16 @@ ARMband
../submodules/armband/docs/releasenotes/index
../submodules/armband/docs/installationprocedure/index
+Barometer
+----------
+.. toctree::
+ :maxdepth: 1
+
+ ../submodules/barometer/docs/release/release-notes/index
+ ../submodules/barometer/docs/release/configguide/index
+ ../submodules/barometer/docs/release/userguide/index
+
+
Copper
--------
.. toctree::
@@ -145,12 +155,3 @@ SFC
../submodules/sfc/docs/releasenotes/index
../submodules/sfc/docs/installationprocedure/index
-
-Software fast-path quality metrics
-------------------------------------
-.. toctree::
- :maxdepth: 1
-
- ../submodules/fastpathmetrics/docs/userguide/index
- ../submodules/fastpathmetrics/docs/requirements/index
- ../submodules/fastpathmetrics/docs/configguide/index
diff --git a/docs/how-to-use-docs/documentation-guide.rst b/docs/how-to-use-docs/documentation-guide.rst
new file mode 100644
index 000000000..aeabdcc0d
--- /dev/null
+++ b/docs/how-to-use-docs/documentation-guide.rst
@@ -0,0 +1,116 @@
+=====================
+Documentation Guide
+=====================
+
+This page intends to cover the documentation handling for OPNFV. OPNFV projects are expected to create a variety of document types, according to the nature of the project. Some of these are common to projects that develop/integrate features into the OPNFV platform, e.g. Installation Instructions and User/Configurations Guides. Other document types may be project-specific.
+
+.. contents::
+ :depth: 3
+ :local:
+
+Getting Started with Documentation for Your Project
+----------------------------------------------------
+OPNFV documentation is automated and integrated into our git & gerrit toolchains.
+
+We use RST document templates in our repositories and automatically render to HTML and PDF versions of the documents in our artifact store, our WiKi is also able to integrate these rendered documents directly allowing projects to use the revision controlled documentation process for project information, content and deliverables.
+Read :ref:`this page <include-documentation>` which elaborates on how documentation is to be included within opnfvdocs.
+
+Enabling the documentation toolchain in your project
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+There are some basic steps you will need to perform in order to get the toolchain working in your repository, this include setting up Jenkins jobs and establishing your project documentation structure. See the document toolchain instructions for more details on getting started in your project.
+The linked page above is written completely in generated artifacts, check the source to see how to do it yourself!
+
+Licencing your documentation
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+All contributions to the OPNFV project are done in accordance with the OPNFV licensing requirements. Documentation in OPNFV is contributed in accordance with the `Creative Commons 4.0 <https://creativecommons.org/licenses/by/4.0/>`_ licence.
+All documentation files need to be licensed using the creative commons licence. The following example may be applied in the first lines of all contributed RST files:
+
+.. code-block:: bash
+
+ .. This work is licensed under a Creative Commons Attribution 4.0 International License.
+ .. http://creativecommons.org/licenses/by/4.0
+ .. (c) <optionally add copywriters name>
+
+These lines will not be rendered in the html and pdf files.
+
+How and where to store the document content files in your repository
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+All documentation for your project should be structured and stored in the :code:`<repo>/docs/` directory. The documentation toolchain will look in these directories and be triggered on events in these directories when generating documents.
+
+Document structure and contribution
+-------------------------------------
+A general structure is proposed for storing and handling documents that are common across many projects but also for documents that may be project specific. The documentation is divided into three areas Release, Development and Testing. Templates for these areas can be found under :code:`opnfvdocs/docs/templates/`.
+
+Project teams are encouraged to use templates provided by the opnfvdocs project to ensure that there is consistency across the community. Following representation shows the expected structure:
+
+::
+
+ docs/
+ ├── developer
+ │   ├── design
+ │   ├── overview
+ │   └── requirements
+ ├── release
+ │   ├── configguide
+ │   ├── installation
+ │   ├── release-notes
+ │   ├── scenarios
+ │   │   └── scenario.name
+ │   └── userguide
+ └── testing
+
+
+Release documentation
+^^^^^^^^^^^^^^^^^^^^^^^^
+Release documentation is the set of documents that are published for each OPNFV release. These documents are created and developed following the OPNFV release process and milestones and should reflect the content of the OPNFV release.
+These documents have a master index.rst file in the <opnfvdocs> repository and extract content from other repositories. To provide content into these documents place your <content>.rst files in a directory in your repository that matches the master document and add a reference to that file in the correct place in the corresponding index.rst file in :code:`opnfvdocs/docs/release/`.
+
+**Platform Overview**: :code:`opnfvdocs/docs/release/overview`
+
+- Note this document is not a contribution driven document
+- Content for this is prepared by the Marketing team together with the opnfvdocs team
+
+**Installation Instruction**: :code:`<repo>/docs/release/installation`
+
+- Folder for documents describing how to deploy each installer and scenario descriptions
+- Release notes will be included here <To Confirm>
+- Security related documents will be included here
+- Note that this document will be compiled into 'OPNFV Installation Instruction'
+
+**User Guide**: :code:`<repo>/docs/release/userguide`
+
+- Folder for manuals to use specific features
+- Folder for documents describing how to install/configure project specific components and features
+- Can be the directory where API reference for project specific features are stored
+- Note this document will be compiled into 'OPNFV userguide'
+
+**Configuration Guide**: :code:`<repo>/docs/release/configguide`
+
+- Brief introduction to configure OPNFV with its dependencies.
+
+**Release Notes**: :code:`<repo>/docs/release/release-notes`
+
+- Changes brought about in the release cycle.
+- Include version details.
+
+Testing documentation
+^^^^^^^^^^^^^^^^^^^^^^^^
+*Structure TBD together with test projects*
+
+Development Documentation
+^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Documentation not aimed for any specific release such as design documentation, project overview or requirement documentation can be stored under /docs/development. Links to generated documents will be dislayed under Development Documentaiton section on docs.opnfv.org. You are encouraged to establish the following basic structure for your project as needed:
+
+**Requirement Documentation**: :code:`<repo>/docs/development/requirements/`
+
+- Folder for your requirement documentation
+- For details on requirements projects' structures see the `Requirements Projects <https://wiki.opnfv.org/display/PROJ/Requirements+Projects>`_ page.
+
+**Design Documentation**: :code:`<repo>/docs/development/design`
+
+- Folder for your upstream design documents (blueprints, development proposals, etc..)
+
+**Project overview**: :code:`<repo>/docs/development/overview`
+
+- Folder for any project specific documentation.
+
diff --git a/docs/how-to-use-docs/include-documentation.rst b/docs/how-to-use-docs/include-documentation.rst
index f1f299e63..010ed4f7b 100644
--- a/docs/how-to-use-docs/include-documentation.rst
+++ b/docs/how-to-use-docs/include-documentation.rst
@@ -1,4 +1,4 @@
-
+.. _include-documentation:
=============================================
Including your Documentation
=============================================
@@ -125,3 +125,86 @@ the opnfvdocs team for review and integration.
Be sure to add the project leader of the opnfvdocs project
as a reviewer of the change you just pushed in gerrit.
+
+Testing: Build Documentation Locally
+---------------------------------------
+
+Composite OPNFVDOCS documentation
++++++++++++++++++++++++++++++++++++
+To build whole documentation under opnfvdocs/, follow these steps:
+
+Install virtual environment.
+
+.. code-block:: bash
+
+ sudo pip install virtualenv
+ cd /local/repo/path/to/project
+
+Download the OPNFVDOCS repository.
+
+.. code-block:: bash
+
+ git clone https://gerrit.opnfv.org/gerrit/opnfvdocs
+
+Change directory to opnfvdocs & install requirements.
+
+.. code-block:: bash
+
+ cd opnfvdocs
+ sudo pip install -r etc/requirements.txt
+
+Update submodules, build documentation using tox & then open using any browser.
+
+.. code-block:: bash
+
+ cd opnfvdocs
+ git submodule update --init
+ tox -edocs
+ firefox docs/_build/html/index.html
+
+.. note:: Make sure to run `tox -edocs` and not just `tox`.
+
+Individual project documentation
++++++++++++++++++++++++++++++++++++
+To test how the documentation renders in HTML, follow these steps:
+
+Install virtual environment.
+
+.. code-block:: bash
+
+ sudo pip install virtualenv
+ cd /local/repo/path/to/project
+
+Download the opnfvdocs repository.
+
+.. code-block:: bash
+
+ git clone https://gerrit.opnfv.org/gerrit/opnfvdocs
+
+Change directory to opnfvdocs & install requirements.
+
+.. code-block:: bash
+
+ cd opnfvdocs
+ sudo pip install -r etc/requirements.txt
+
+Move the conf.py file to your project folder where RST files have been kept:
+
+.. code-block:: bash
+
+ mv opnfvdocs/docs/conf.py <path-to-your-folder>/
+
+Move the static files to your project folder:
+
+.. code-block:: bash
+
+ mv opnfvdocs/_static/ <path-to-your-folder>/
+
+Build the documentation from within your project folder:
+
+.. code-block:: bash
+
+ sphinx-build -b html <path-to-your-folder> <path-to-output-folder>
+
+Your documentation shall be built as HTML inside the
+specified output folder directory.
diff --git a/docs/index.rst b/docs/index.rst
index 848b817fe..56d5718da 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -1,3 +1,5 @@
+.. note:: This documentation is still under development.
+
OPNFV Documentation
===================