Skip to end of metadata
Go to start of metadata

Please let us know if anything can be clarified or improved, this page should not include any release specific information just cover generall documentation handling for OPNFV.

All documentation will incrementally be migrated to docs.opnfv.org


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.

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.

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 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:

  .. 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>

Or if you want to use the SPDX Shorthand vs. the Creative Commons URL

  .. This work is licensed under a Creative Commons Attribution 4.0 International License.
  .. SPDX-License-Identifier: CC-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 <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 opnfvdocs/docs/templates/.  

Project teams are encouraged to use templates provided by the opnfvdocs project to ensure that there is consistency across the community.

/docs
??? release
?   ??? configguide
?   ??? installation
?   ??? release-notes
?   ??? scenarios
?   ?   ??? scenario.name
?   ??? userguide
??? testing
??? development
    ??? requirement
	??? design
	??? overview



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 master index.rst file in <opnfvdocs>.
 
  • Platform Overview: 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 <repo>/docs/release/installation
    • Folder for documents describing how to deploy each installer and scenario descriptions
    • Release notes will be included here 
    • Security related documents will be included here
    • Note that this document will be compiled into 'OPNFV Installation Instruction'

 
  • User Guide<repo>/docs/release/userguide
    • Folder for manuals to use specific 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: <repo>/docs/release/configguide
    • Folder for documents describing how to install/configure project specific components and features

Test Framework

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: <repo>/docs/development/requirements/
    • Folder for your requirement documentation
    • For details on requirements projects' structures see the Requirements Projects page
  • Design Documentation: <repo>/docs/development/design
    • Folder for your upstream design documents (blueprints, development proposals, etc..)

  • Project overview: <repo>/docs/development/overview
    • Folder for any project specific documentaiton

OPNFVDOCS project page

Space contributors

{"mode":"list","scope":"descendants","limit":"5","showLastTime":"true","order":"update","contextEntityId":2925124}

Page viewed 9758 times by 191 users since Apr 06, 2016

  • No labels