Skip to content

Commit

Permalink
Removing deprecated functions from readthedocs
Browse files Browse the repository at this point in the history
Change-Id: Ibe6f35f41816ef0a81f21d164d2cb324570515c6
Signed-off-by: czichy <[email protected]>
  • Loading branch information
thoczi committed Sep 1, 2023
1 parent 139295e commit 361faac
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
---
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2

formats:
- htmlzip

build:
image: latest
os: "ubuntu-22.04"
tools:
python: "3.7"

python:
version: 3.7
install:
- requirements: docs/requirements-docs.txt

Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ Welcome to O-RAN Application Manager Documentation
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ deps =
sphinxcontrib-httpdomain
recommonmark
lfdocs-conf
urllib3~=1.26.15

commands =
sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
echo "Generated docs available in {toxinidir}/docs/_build/html"
whitelist_externals = echo
allowlist_externals = echo

[testenv:docs-linkcheck]
passenv =
Expand All @@ -35,4 +36,5 @@ deps = sphinx
sphinxcontrib-httpdomain
recommonmark
lfdocs-conf
urllib3~=1.26.15
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
1 change: 1 addition & 0 deletions xapp_orchestrater/dev/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ The following is a list of projects hosted by this repo.
xapp_onboarder/index.rst
release-notes.rst


1 change: 1 addition & 0 deletions xapp_orchestrater/dev/docs/xapp_onboarder/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ xApp Onboarder

overview.rst
guide_index.rst

4 changes: 3 additions & 1 deletion xapp_orchestrater/dev/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ deps =
sphinxcontrib-httpdomain
recommonmark
lfdocs-conf
urllib3~=1.26.15

commands =
sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html

echo "Generated docs available in {toxinidir}/docs/_build/html"

whitelist_externals = echo
allowlist_externals = echo

[testenv:docs-linkcheck]
basepython = python3
Expand All @@ -31,4 +32,5 @@ deps = sphinx
sphinxcontrib-httpdomain
recommonmark
lfdocs-conf
urllib3~=1.26.15
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
2 changes: 1 addition & 1 deletion xapp_orchestrater/dev/xapp_onboarder/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ commands=
commands_post=
local: bash -c 'kill -9 $(ps -x | grep "tests.mock_helm_repo.mock_helm_repo" | grep -v grep | cut -d" " -f1)'

whitelist_externals = bash
allowlist_externals = bash

0 comments on commit 361faac

Please sign in to comment.