diff options
author | Eric Debeau <eric.debeau@orange.com> | 2022-10-07 15:19:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-10-07 15:19:43 +0000 |
commit | db7450db882ceb69929974183642228e1e566f54 (patch) | |
tree | 02bd74204143cce855e57191c10dd0829fddd6ef /examples/sphinx | |
parent | 9b153df19b23320e4e8a485a39b047930104f6f2 (diff) | |
parent | 95de97305dd110a2624cca4c4fe748b8ce8e8493 (diff) |
Merge "Slightly improve Doc's examples"
Diffstat (limited to 'examples/sphinx')
-rw-r--r-- | examples/sphinx/master/conf.py | 3 | ||||
-rw-r--r-- | examples/sphinx/master/tox.ini | 4 | ||||
-rw-r--r-- | examples/sphinx/release/conf.py | 3 | ||||
-rw-r--r-- | examples/sphinx/release/tox.ini | 4 |
4 files changed, 8 insertions, 6 deletions
diff --git a/examples/sphinx/master/conf.py b/examples/sphinx/master/conf.py index d447769b9..e15eeeec4 100644 --- a/examples/sphinx/master/conf.py +++ b/examples/sphinx/master/conf.py @@ -18,7 +18,8 @@ html_show_sphinx = False extensions = [ 'sphinx.ext.intersphinx','sphinxcontrib.blockdiag', - 'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz'] + 'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz', + 'sphinxcontrib.spelling'] # # Map to 'latest' if this file is used in 'latest' (master) 'doc' branch. diff --git a/examples/sphinx/master/tox.ini b/examples/sphinx/master/tox.ini index 0c736590f..b9d7eb44b 100644 --- a/examples/sphinx/master/tox.ini +++ b/examples/sphinx/master/tox.ini @@ -19,7 +19,7 @@ deps = -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 -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck + sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck [testenv:docs-spellcheck] basepython = python3.8 @@ -28,4 +28,4 @@ deps = -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 -b spelling -Dextensions=sphinxcontrib.spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck + sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck diff --git a/examples/sphinx/release/conf.py b/examples/sphinx/release/conf.py index f85f8991d..7976b6d51 100644 --- a/examples/sphinx/release/conf.py +++ b/examples/sphinx/release/conf.py @@ -18,7 +18,8 @@ html_show_sphinx = False extensions = [ 'sphinx.ext.intersphinx','sphinxcontrib.blockdiag', - 'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz'] + 'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz', + 'sphinxcontrib.spelling'] # # Map to 'latest' if this file is used in 'latest' (master) 'doc' branch. diff --git a/examples/sphinx/release/tox.ini b/examples/sphinx/release/tox.ini index 11c051a0d..4629c8313 100644 --- a/examples/sphinx/release/tox.ini +++ b/examples/sphinx/release/tox.ini @@ -19,7 +19,7 @@ deps = -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h={release} commands = - sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck + sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck [testenv:docs-spellcheck] basepython = python3.8 @@ -28,4 +28,4 @@ deps = -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h={release} commands = - sphinx-build -W -b spelling -Dextensions=sphinxcontrib.spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck + sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck |