update of sphinx example files 95/125995/2
authorthmsdt <thomas.kulik@telekom.de>
Wed, 1 Dec 2021 07:43:23 +0000 (08:43 +0100)
committerthmsdt <thomas.kulik@telekom.de>
Wed, 1 Dec 2021 08:37:24 +0000 (09:37 +0100)
Issue-ID: DOC-771

Signed-off-by: thmsdt <thomas.kulik@telekom.de>
Change-Id: If42167b434b25b00531487bbbcb0740671af6399

examples/sphinx/.readthedocs.yaml [new file with mode: 0644]
examples/sphinx/README.md
examples/sphinx/istanbul/conf.yaml
examples/sphinx/master/conf.yaml

diff --git a/examples/sphinx/.readthedocs.yaml b/examples/sphinx/.readthedocs.yaml
new file mode 100644 (file)
index 0000000..10453a9
--- /dev/null
@@ -0,0 +1,21 @@
+---
+# .readthedocs.yml
+# # Read the Docs configuration file
+# # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+# # Required
+#
+version: 2
+
+build:
+   image: latest
+
+python:
+   version: 3.7
+   install:
+      - requirements: etc/requirements.txt
+
+submodules:
+   include: all
+
+sphinx:
+   configuration: docs/conf.py
index ababb38..9d416c8 100644 (file)
@@ -1,40 +1,51 @@
 # Examples files
 
-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.
+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:
 - **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.
+   (e.g.'istanbul'). **Important:** You need to change the 'istanbul' entries
+   in the files! Replace them with the name of the new release branch (e.g. 'jakarta').
 
 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. 
+directory you can execute the '*tox -e docs*' command and the build starts.
 
-## FILE: conf.py
-##### DESCRIPTION:
+---
+## conf.py
+#### DESCRIPTION:
 The “build configuration file” contains (almost) all configuration needed to
 customize Sphinx input and output behavior.
+#### SEE ALSO:
 
+https://docs.releng.linuxfoundation.org/projects/lfdocs-conf/en/latest/config.html
 
-## FILE: conf.yaml
-##### DESCRIPTION:
-todo
+https://www.sphinx-doc.org/en/master/usage/configuration.html
 
+---
+## conf.yaml
+#### DESCRIPTION:
+Required to customize lfdocs-conf behavior.
+##### SEE ALSO:
 
-## FILE: requirements-docs.txt
-##### DESCRIPTION:
-todo
+https://docs.releng.linuxfoundation.org/projects/lfdocs-conf/en/latest/config.html
 
-
-## FILE: .readthedocs.yaml
+---
+## requirements-docs.txt
 ##### DESCRIPTION:
-todo
+Contains the required libraries to be used by Sphinx.
 
+---
+## .readthedocs.yaml
+##### DESCRIPTION:
+Required to customize the ReadTheDocs input and output behavior. **Important:** This file is located in your {project} root directory (e.g. *doc/.readthedocs.yaml*).
 
-## FILE: tox.ini
+---
+## tox.ini
 ##### DESCRIPTION:
-todo
\ No newline at end of file
+Required to customize different tox environments.
+##### SEE ALSO:
+https://tox.wiki/en/latest/config.html
\ No newline at end of file
index 44de212..d2e9275 100644 (file)
@@ -2,6 +2,6 @@
 project_cfg: onap
 project: onap
 
-# Change this to ReleaseBranchName to modify the header
+# Change this to {releasename} to modify the header
 default-version: istanbul
 #
index ab59281..747e500 100644 (file)
@@ -2,6 +2,6 @@
 project_cfg: onap
 project: onap
 
-# Change this to ReleaseBranchName to modify the header
+# Change this to {releasename} to modify the header
 default-version: latest
 #