Skip to content

Commit

Permalink
move requirements file and correct path in tox.ini
Browse files Browse the repository at this point in the history
Issue-ID: DOC-811

Signed-off-by: thmsdt <[email protected]>
Change-Id: I7c1b2bb3bd2357d2de5458d4791d8ee20affc682
  • Loading branch information
thmsdt committed Apr 17, 2023
1 parent b0c6c0b commit 2f07ec8
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 83 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:
python:
version: 3.7
install:
- requirements: etc/requirements-docs.txt
- requirements: docs/requirements-docs.txt

submodules:
include: all
Expand Down
13 changes: 9 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
# yamllint disable-line rule:line-length
copyright = "ONAP. Licensed under Creative Commons Attribution 4.0 International License"

exclude_patterns = [
'.tox'
]

pygments_style = "sphinx"
html_theme = "sphinx_rtd_theme"
html_theme_options = {
"style_nav_header_background": "white",
"sticky_navigation": "False" }
"style_nav_header_background": "white",
"sticky_navigation": "False" }
html_logo = "_static/logo_onap_2017.png"
html_favicon = "_static/favicon.ico"
html_static_path = ["_static"]
Expand All @@ -20,9 +24,10 @@
'sphinx.ext.intersphinx',
'sphinx.ext.graphviz',
'sphinxcontrib.blockdiag',
'sphinxcontrib.plantuml',
'sphinxcontrib.seqdiag',
'sphinxcontrib.spelling' ,
'sphinxcontrib.swaggerdoc',
'sphinxcontrib.plantuml',
'sphinx_toolbox.collapse'
]

Expand Down Expand Up @@ -82,5 +87,5 @@ def setup(app):
app.add_css_file("css/ribbon.css")

linkcheck_ignore = [
r'http://localhost:\d+/'
r'http://localhost:\d+/'
]
1 change: 0 additions & 1 deletion docs/release/component-release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ AAI - Active and Available Inventory

CCSDK - Common Controller Software Development Kit
--------------------------------------------------
- :ref:`ccsdk/cds <onap-ccsdk-cds:release_notes>`
- :ref:`ccsdk/distribution <onap-ccsdk-distribution:release_notes>`
- :ref:`ccsdk/oran <onap-ccsdk-oran:release_notes>`

Expand Down
File renamed without changes.
33 changes: 33 additions & 0 deletions docs/tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[tox]
minversion = 1.6
envlist = docs,docs-linkcheck,docs-spellcheck
skipsdist = true

[testenv:docs]
basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
-c{toxinidir}/../etc/upper-constraints.onap.txt
commands =
sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
allowlist_externals =
git
sh

[testenv:docs-linkcheck]
basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
-c{toxinidir}/../etc/upper-constraints.onap.txt
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
-c{toxinidir}/../etc/upper-constraints.onap.txt
commands =
sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck
77 changes: 0 additions & 77 deletions tox.ini

This file was deleted.

0 comments on commit 2f07ec8

Please sign in to comment.