fix sphinx config example files and update readme 50/126350/2
authorthmsdt <thomas.kulik@telekom.de>
Mon, 20 Dec 2021 12:32:38 +0000 (13:32 +0100)
committerthmsdt <thomas.kulik@telekom.de>
Mon, 20 Dec 2021 13:42:05 +0000 (14:42 +0100)
Issue-ID: DOC-782

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

.readthedocs.yaml
docs/index.rst
etc/requirements-docs.txt [moved from etc/requirements.txt with 100% similarity]
examples/sphinx/README.md
tox.ini

index 10453a9..9972e72 100644 (file)
@@ -12,7 +12,7 @@ build:
 python:
    version: 3.7
    install:
-      - requirements: etc/requirements.txt
+      - requirements: etc/requirements-docs.txt
 
 submodules:
    include: all
index e65a786..f7cfd7b 100644 (file)
@@ -37,8 +37,8 @@ Please find some guidance here on the content of ONAP documentation:
  |                                                                                 | Common services and the ONAP Portal support the certain functions.                            |
  +---------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------+
  | :ref:`ONAP Components and Functionalities <doc_onap-developer_guide_projects>`  | The ONAP Components and Functionalities are described in details here.                        |
- |                                                                                 | We can learn what functionalities ONAP provides and how the certain components in ONAP        |
- |                                                                                 | operate together.                                                                             |
+ |                                                                                 | We can learn what functionalities ONAP provides and how the certain components in             |
+ |                                                                                 | ONAP operate together.                                                                        |
  +---------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------+
  | :ref:`Operations and Adminstration Guides <operation_guides>`                   | ONAP Platform operation and adminstration cover the configuration and installation of ONAP,   |
  |                                                                                 | its management, monitoring and other operational tasks (integration, user management,...)     |
index 9d416c8..616961e 100644 (file)
@@ -19,6 +19,8 @@ directory you can execute the '*tox -e docs*' command and the build starts.
 #### DESCRIPTION:
 The “build configuration file” contains (almost) all configuration needed to
 customize Sphinx input and output behavior.
+#### PATH:
+{project}/docs/conf.py
 #### SEE ALSO:
 
 https://docs.releng.linuxfoundation.org/projects/lfdocs-conf/en/latest/config.html
@@ -29,6 +31,8 @@ https://www.sphinx-doc.org/en/master/usage/configuration.html
 ## conf.yaml
 #### DESCRIPTION:
 Required to customize lfdocs-conf behavior.
+#### PATH:
+{project}/docs/conf.yaml
 ##### SEE ALSO:
 
 https://docs.releng.linuxfoundation.org/projects/lfdocs-conf/en/latest/config.html
@@ -37,15 +41,19 @@ https://docs.releng.linuxfoundation.org/projects/lfdocs-conf/en/latest/config.ht
 ## requirements-docs.txt
 ##### DESCRIPTION:
 Contains the required libraries to be used by Sphinx.
-
+#### PATH:
+{project}/etc/requirements-docs.txt
 ---
 ## .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*).
-
+#### PATH:
+{project}/.readthedocs.yaml
 ---
 ## tox.ini
 ##### DESCRIPTION:
 Required to customize different tox environments.
+#### PATH:
+{project}/tox.ini
 ##### SEE ALSO:
 https://tox.wiki/en/latest/config.html
\ No newline at end of file
diff --git a/tox.ini b/tox.ini
index a538317..655aa73 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ skipsdist = true
 [testenv:docs]
 basepython = python3
 deps =
-    -r{toxinidir}/etc/requirements.txt
+    -r{toxinidir}/etc/requirements-docs.txt
     -c{toxinidir}/etc/upper-constraints.os.txt
     -c{toxinidir}/etc/upper-constraints.onap.txt
 commands =
@@ -20,7 +20,7 @@ whitelist_externals =
 [testenv:docs-templates]
 basepython = python3
 deps =
-    -r{toxinidir}/etc/requirements.txt
+    -r{toxinidir}/etc/requirements-docs.txt
     -c{toxinidir}/etc/upper-constraints.os.txt
     -c{toxinidir}/etc/upper-constraints.onap.txt
 commands =
@@ -32,7 +32,7 @@ whitelist_externals =
 [testenv:local]
 basepython = python3
 deps =
-    -r{toxinidir}/etc/requirements.txt
+    -r{toxinidir}/etc/requirements-docs.txt
     -c{toxinidir}/etc/upper-constraints.os.txt
     -c{toxinidir}/etc/upper-constraints.onap.txt
 commands =
@@ -46,7 +46,7 @@ whitelist_externals =
 [testenv:docs-linkcheck]
 basepython = python3
 deps =
-    -r{toxinidir}/etc/requirements.txt
+    -r{toxinidir}/etc/requirements-docs.txt
     -c{toxinidir}/etc/upper-constraints.os.txt
     -c{toxinidir}/etc/upper-constraints.onap.txt
 commands = sphinx-build -q -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
@@ -54,7 +54,7 @@ commands = sphinx-build -q -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinid
 [testenv:spellcheck]
 basepython = python3
 deps =
-    -r{toxinidir}/etc/requirements.txt
+    -r{toxinidir}/etc/requirements-docs.txt
     -c{toxinidir}/etc/upper-constraints.os.txt
     -c{toxinidir}/etc/upper-constraints.onap.txt
 commands =
@@ -62,7 +62,7 @@ commands =
 
 [testenv:autopep8]
 deps =
-    -r{toxinidir}/etc/requirements.txt
+    -r{toxinidir}/etc/requirements-docs.txt
     -c{toxinidir}/etc/upper-constraints.os.txt
     -c{toxinidir}/etc/upper-constraints.onap.txt
 commands =
@@ -70,7 +70,7 @@ commands =
 
 [testenv:pylint]
 deps =
-    -r{toxinidir}/etc/requirements.txt
+    -r{toxinidir}/etc/requirements-docs.txt
     -c{toxinidir}/etc/upper-constraints.os.txt
     -c{toxinidir}/etc/upper-constraints.onap.txt
 commands =