From b0f40b1c39fb23a964101351d91709d3522709dd Mon Sep 17 00:00:00 2001 From: czichy Date: Fri, 1 Sep 2023 09:24:01 +0300 Subject: [PATCH] Removing deprecated functions from readthedocs Change-Id: I9844929987bc4b93b7bfe8f214d796404993a8b6 Signed-off-by: czichy --- .readthedocs.yaml | 5 +++-- docs/index.rst | 1 + tox.ini | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3797dc8..864f935 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,10 +9,11 @@ formats: - htmlzip build: - image: latest + os: "ubuntu-22.04" + tools: + python: "3.7" python: - version: 3.7 install: - requirements: docs/requirements-docs.txt diff --git a/docs/index.rst b/docs/index.rst index 3266c13..f39c0cd 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -16,3 +16,4 @@ Welcome to O-RAN SC ric-plt/nodeb-rnib Documentation * :ref:`genindex` * :ref:`modindex` * :ref:`search` + diff --git a/tox.ini b/tox.ini index db50ddf..75c19da 100644 --- a/tox.ini +++ b/tox.ini @@ -14,13 +14,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 @@ -29,4 +30,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.16.6