The examples files for a working (basic) configuration of sphinx should be used by all ONAP projects (except 'doc' project). Extend them to reflect the needs in your project. Important: The files relate on each other. Change them carefully!
We provide two directories:
The additional directories named _static and images and the file index.rst are required to make the examples buildable. In the respective directory you can execute the 'tox -e docs' command and the build starts.
The “build configuration file” contains (almost) all configuration needed to customize Sphinx input and output behavior.
{project}/docs/conf.py
https://docs.releng.linuxfoundation.org/projects/lfdocs-conf/en/latest/config.html
https://www.sphinx-doc.org/en/master/usage/configuration.html
Contains the required libraries to be used by Sphinx.
Required to customize the ReadTheDocs input and output behavior. Important: This file is located in your {project} root directory (e.g. doc/.readthedocs.yaml).
{project}/.readthedocs.yaml
Required to customize different tox environments.
{project}/tox.ini
https://tox.wiki/en/latest/config.html
The reStructuredText Cheat Sheet as an example .rst file