From d658c7f1d0c43092e2939848af9e3c56455e13c0 Mon Sep 17 00:00:00 2001 From: thmsdt Date: Tue, 4 Jul 2023 14:30:35 +0200 Subject: fix doc config files Issue-ID: DOC-811 Signed-off-by: thmsdt Change-Id: I613c43ff8a770502486a96bc1ce13945dd59d824 (cherry picked from commit 0490b2fa6ad103fd9afddc621d75af4b7dd701ee) --- .readthedocs.yaml | 12 +++++------- docs/tox.ini | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3797dc8..f56b3b7 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,18 +3,16 @@ # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details # Required -version: 2 - -formats: - - htmlzip +version: 2 build: - image: latest + os: ubuntu-20.04 + tools: + python: "3.8" python: - version: 3.7 install: - - requirements: docs/requirements-docs.txt + - requirements: docs/requirements-docs.txt sphinx: configuration: docs/conf.py diff --git a/docs/tox.ini b/docs/tox.ini index 9728fc4..86ea3b4 100644 --- a/docs/tox.ini +++ b/docs/tox.ini @@ -10,7 +10,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 -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html + sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html # #[testenv:docs-linkcheck] -- cgit 1.2.3-korg