From d7437dc16bae6455f3beddf6c65a1970e0059adc Mon Sep 17 00:00:00 2001 From: czichy Date: Fri, 1 Sep 2023 09:24:00 +0300 Subject: [PATCH] Removing deprecated functions from readthedocs Change-Id: I6f416bffcb6993bbaa5628b75a4d7379237b8923 Signed-off-by: czichy --- .readthedocs.yaml | 9 +++++++-- docs/index.rst | 1 + tox.ini | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 095222a..864f935 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -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 diff --git a/docs/index.rst b/docs/index.rst index 56aa2c2..9e7d646 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -47,3 +47,4 @@ Welcome to O-RAN SC pylog Documentation * :ref:`genindex` * :ref:`modindex` * :ref:`search` + diff --git a/tox.ini b/tox.ini index aa03284..33359ae 100644 --- a/tox.ini +++ b/tox.ini @@ -18,12 +18,13 @@ deps = sphinxcontrib-httpdomain recommonmark lfdocs-conf + urllib3~=1.26.15 inotify 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 = @@ -36,5 +37,6 @@ deps = sphinx sphinxcontrib-httpdomain recommonmark lfdocs-conf + urllib3~=1.26.15 inotify commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck -- 2.16.6