summaryrefslogtreecommitdiffstats
path: root/examples/sphinx/README.md
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-11-22 14:21:29 +0100
committerthmsdt <thomas.kulik@telekom.de>2021-11-30 15:08:21 +0100
commit3093269296e267427debd31e180ac29fcab349df (patch)
tree6e7fdf81aa384b9303dc2603e8b3420c969abc7f /examples/sphinx/README.md
parentd6b7f66b0d3cbc4e7c92a85837a8e74906c08434 (diff)
Make examples buildable
It now excludes .tox from conf.py. It locally clones docutils cheatsheet as examples (it should be noted that cheatsheet.txt is renamed index.rst in it). [1] https://docutils.sourceforge.io/docs/user/rst/cheatsheet.txt Issue-ID: DOC-772 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ifd616b797d5a48da5df77b0dfaa0613497b742d8
Diffstat (limited to 'examples/sphinx/README.md')
-rw-r--r--examples/sphinx/README.md72
1 files changed, 23 insertions, 49 deletions
diff --git a/examples/sphinx/README.md b/examples/sphinx/README.md
index e8decf9a4..ababb3834 100644
--- a/examples/sphinx/README.md
+++ b/examples/sphinx/README.md
@@ -3,64 +3,38 @@
Examples files for a working (basic) configuration of sphinx.
To be used by all ONAP projects (except 'doc' project).
Extend them to reflect the needs in your project.
-Please note the different pathes, the files are located in!
-## FILE: tox.ini_MASTER
+We provide two directories:
+- **master**: Contains configuration files used in the **development branch**.
+- **istanbul**: Contains configuration files used in the **release branch**
+ (e.g.'istanbul'). **Important**: You need to change the 'istanbul' entries
+ in the files! Replace them with the name of the new release branch.
-##### USE:
-in MASTER branch of your repository
-##### PATH:
-{project}/docs
-##### TODO:
-remove _MASTER from filename
+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.
-## FILE: tox.ini_NEWBRANCH
+## FILE: conf.py
+##### DESCRIPTION:
+The “build configuration file” contains (almost) all configuration needed to
+customize Sphinx input and output behavior.
-##### USE:
-in 'NEWBRANCH' of your repository
-##### PATH:
-{project}/docs
-##### TODO:
-remove _NEWBRANCH from filename
-update release name in the following lines:
-```
--chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
--chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
-```
+## FILE: conf.yaml
+##### DESCRIPTION:
+todo
-## FILE: conf.py_MASTER
-
-##### USE:
-in MASTER branch of your repository
-##### PATH:
-{project}/docs
-##### TODO:
-remove _MASTER from filename
-
-## FILE: conf.py_NEWBRANCH
-
-##### USE:
-in 'NEWBRANCH' of your repository
-##### PATH:
-{project}/docs
-##### TODO:
-remove _NEWBRANCH from filename
## FILE: requirements-docs.txt
+##### DESCRIPTION:
+todo
-##### USE:
-in both, MASTER branch and 'NEWBRANCH' of your repository
-##### PATH:
-{project}/docs
-##### TODO:
-–
## FILE: .readthedocs.yaml
+##### DESCRIPTION:
+todo
+
-##### USE:
-in both, MASTER branch and 'NEWBRANCH' of your repository
-##### PATH:
-{project}
-##### TODO:
-–
+## FILE: tox.ini
+##### DESCRIPTION:
+todo \ No newline at end of file