fix docs config file and rst errors 40/136940/1 montreal
authorthmsdt <thomas.kulik@telekom.de>
Fri, 5 Jan 2024 13:03:05 +0000 (14:03 +0100)
committerthmsdt <thomas.kulik@telekom.de>
Fri, 5 Jan 2024 13:03:53 +0000 (14:03 +0100)
Issue-ID: DOC-821

Change-Id: I07920bfb98386a128cfca57475d2caf151f247e0
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
.gitreview
docs/conf.py
docs/sections/homingspecification.rst
docs/sections/offeredapis.rst
docs/sections/release-notes.rst
docs/tox.ini

index 5a128d4..e8dff34 100644 (file)
@@ -2,4 +2,4 @@
 host=gerrit.onap.org
 port=29418
 project=optf/has.git
-defaultbranch=master
\ No newline at end of file
+defaultbranch=montreal
\ No newline at end of file
index 70937d7..372eadc 100644 (file)
@@ -1,6 +1,6 @@
 project = "onap"
-release = "master"
-version = "master"
+release = "montreal"
+version = "montreal"
 
 author = "Open Network Automation Platform"
 # yamllint disable-line rule:line-length
@@ -30,7 +30,7 @@ extensions = [
 # Change to {releasename} after you have created the new 'doc' branch.
 #
 
-branch = 'latest'
+branch = 'montreal'
 
 intersphinx_mapping = {}
 doc_url = 'https://docs.onap.org/projects'
index ae09208..fcd5dec 100644 (file)
@@ -159,8 +159,8 @@ Placemark
 An address expressed in geographic region-agnostic terms (referred to as
 a *placemark*).
 
-*This is an example as of Frankfurt release. Support for this schema is
- deferred to subsequent release.*
+This is an example as of Frankfurt release. Support for this schema is deferred
+to subsequent release.
 
 +-----------------------------------+----------------------------------+
 | Key                               | Value                            |
@@ -1837,7 +1837,7 @@ The constraint is applied between each pairwise combination of demands.
 For this reason, at least two demands must be specified, implicitly or
 explicitly.
 
-.. code:: yaml
+.. code::
 
     constraints:
       network_requirements:
@@ -1878,7 +1878,7 @@ malformed request.
 The constraint is applied between each demand and the referenced
 location, not across all pairwise combinations of Demands.
 
-.. code:: yaml
+.. code::
 
     constraints:
       my_access_network_constraint:
index f2fe4e2..12b3bec 100644 (file)
@@ -35,7 +35,7 @@ State Diagram
 mode (the default), it will reset any plans found waiting and stuck in
 the ``solving`` state back to ``translated``.
 
-.. code:: json
+.. code::
 
     {
       "name": "PLAN_NAME",
@@ -43,7 +43,7 @@ the ``solving`` state back to ``translated``.
       "limit": 3
     }
 
-.. code:: json
+.. code::
 
     {
       "plan": {
index bdb338b..1d99e13 100644 (file)
@@ -645,6 +645,7 @@ OPTFRA code has been formally scanned during build time using NexusIQ and no Cri
     - `OPTFRA project page <https://wiki.onap.org/display/DW/Optimization+Framework+Project>`_
     - `Passing Badge information for OPTFRA <https://bestpractices.coreinfrastructure.org/en/projects/1720>`_
     - `Project Vulnerability Review Table for OPTF <https://wiki.onap.org/pages/viewpage.action?pageId=64005463>`_
+
 **Upgrade Notes**
 To upgrade, run docker container or install from source, See Distribution page
 
index 1613246..f69db1a 100644 (file)
@@ -1,6 +1,6 @@
 [tox]
 minversion = 1.6
-envlist = docs,
+envlist = docs,docs-linkcheck,docs-spellcheck
 skipsdist = true
 
 [testenv:docs]
@@ -8,28 +8,24 @@ basepython = python3.8
 deps =
     -r{toxinidir}/requirements-docs.txt
     -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
-    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
+    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=montreal
 commands =
-    sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
-    echo "Generated docs available in {toxinidir}/_build/html"
-whitelist_externals =
-    echo
-    git
-    sh
-
-[testenv:docs-linkcheck]
-basepython = python3.8
-#deps = -r{toxinidir}/requirements-docs.txt
-commands = echo "Link Checking not enforced"
-#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
-whitelist_externals = echo
-
-[testenv:docs-spellcheck]
-basepython = python3.8
-deps =
-    -r{toxinidir}/requirements-docs.txt
-    -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
-    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
-commands =
-    sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck
+    sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
 
+#[testenv:docs-linkcheck]
+#basepython = python3.8
+#deps =
+#    -r{toxinidir}/requirements-docs.txt
+#    -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+#    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=montreal
+#commands =
+#    sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
+#
+#[testenv:docs-spellcheck]
+#basepython = python3.8
+#deps =
+#    -r{toxinidir}/requirements-docs.txt
+#    -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+#    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=montreal
+#commands =
+#    sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck