5 This page intends to cover the documentation handling for OPNFV. OPNFV projects are expected to create a variety of document types,
6 according to the nature of the project. Some of these are common to projects that develop/integrate features into the OPNFV platform, e.g.
7 Installation Instructions and User/Configurations Guides. Other document types may be project-specific.
13 Getting Started with Documentation for Your Project
14 ---------------------------------------------------
15 OPNFV documentation is automated and integrated into our git & gerrit toolchains.
17 We use RST document templates in our repositories and automatically render to HTML and PDF versions of the documents in our artifact
18 store, our Wiki is also able to integrate these rendered documents directly allowing projects to use the revision controlled
20 process for project information, content and deliverables.
21 The `LFN documenatation guide <https://docs.releng.linuxfoundation.org/en/latest/project-documentation.html>`_ explains how to enable
22 your documenation build.
24 Licencing your documentation
25 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 All contributions to the OPNFV project are done in accordance with the OPNFV licensing requirements. Documentation in OPNFV is
28 in accordance with the `Creative Commons 4.0 <https://creativecommons.org/licenses/by/4.0/>`_ and the `SPDX <https://spdx.org/>`_
30 All documentation files need to be licensed using the text below. The license may be applied in the first lines of
31 all contributed RST files:
35 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
36 .. SPDX-License-Identifier: CC-BY-4.0
37 .. (c) <optionally add copywriters name>
39 These lines will not be rendered in the html and pdf files.
41 How and where to store the document content files in your repository
42 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43 All documentation for your project should be structured and stored in the :code:`<repo>/docs/` directory. The documentation toolchain will
44 look in these directories and be triggered on events in these directories when generating documents.
46 Document structure and contribution
47 -----------------------------------
48 A general structure is proposed for storing and handling documents that are common across many projects but also for documents that may be
49 project specific. The documentation is divided into three areas Release, Development and Testing. Templates for these areas can be found
50 under :code:`opnfvdocs/docs/templates/`.
52 Project teams are encouraged to use templates provided by the opnfvdocs project to ensure that there is consistency across the community.
53 Following representation shows the expected structure:
75 Release documentation is the set of documents that are published for each OPNFV release. These documents are created and developed
76 following the OPNFV release process and milestones and should reflect the content of the OPNFV release.
77 These documents have a master index.rst file in the <opnfvdocs> repository and extract content from other repositories.
78 To provide content into these documents place your <content>.rst files in a directory in your repository that matches the master document
79 and add a reference to that file in the correct place in the corresponding index.rst file in :code:`opnfvdocs/docs/release/`.
81 **Platform Overview**: :code:`opnfvdocs/docs/release/overview`
83 - Note this document is not a contribution driven document
84 - Content for this is prepared by the Marketing team together with the opnfvdocs team
86 **Installation Instruction**: :code:`<repo>/docs/release/installation`
88 - Folder for documents describing how to deploy each installer and scenario descriptions
89 - Release notes will be included here <To Confirm>
90 - Security related documents will be included here
91 - Note that this document will be compiled into 'OPNFV Installation Instruction'
93 **User Guide**: :code:`<repo>/docs/release/userguide`
95 - Folder for manuals to use specific features
96 - Folder for documents describing how to install/configure project specific components and features
97 - Can be the directory where API reference for project specific features are stored
98 - Note this document will be compiled into 'OPNFV userguide'
100 **Configuration Guide**: :code:`<repo>/docs/release/configguide`
102 - Brief introduction to configure OPNFV with its dependencies.
104 **Release Notes**: :code:`<repo>/docs/release/release-notes`
106 - Changes brought about in the release cycle.
107 - Include version details.
109 Testing documentation
110 ^^^^^^^^^^^^^^^^^^^^^
111 Documentation created by test projects can be stored under two different sub directories /user or /developemnt.
112 Release notes will be stored under <repo>/docs/release/release-notes
114 **User documentation**: :code:`<repo>/testing/user/`
115 Will collect the documentation of the test projects allowing the end user to perform testing towards a OPNFV SUT
116 e.g. Functest/Yardstick/Vsperf/Storperf/Bottlenecks/Qtip installation/config & user guides.
118 **Development documentation**: :code:`<repo>/testing/developent/`
119 Will collect documentation to explain how to create your own test case and leverage existing testing frameworks e.g. developer guides.
121 Development Documentation
122 ^^^^^^^^^^^^^^^^^^^^^^^^^
123 Project specific documents such as design documentation, project overview or requirement documentation can be stored under
124 /docs/development. Links to generated documents will be dislayed under Development Documentaiton section on docs.opnfv.org.
125 You are encouraged to establish the following basic structure for your project as needed:
127 **Requirement Documentation**: :code:`<repo>/docs/development/requirements/`
129 - Folder for your requirement documentation
130 - For details on requirements projects' structures see the `Requirements Projects <https://wiki.opnfv.org/display/PROJ/Requirements+Projects>`_ page.
132 **Design Documentation**: :code:`<repo>/docs/development/design`
134 - Folder for your upstream design documents (blueprints, development proposals, etc..)
136 **Project overview**: :code:`<repo>/docs/development/overview`
138 - Folder for any project specific documentation.
140 Infrastructure Documentation
141 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
142 Infrastructure documentation can be stored under :code:`<repo>/docs/` folder of
143 corresponding infrastructure project.