[CI:DOCS]rtd: implement v2 build file

readthedocs has moved to a new build configuration and our builds are
failing because we have exceeded the grace time.  this pr puts in
compliance with their build system and should allow automatic builds of
our documentation to resume

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude 2023-10-11 14:08:05 -05:00
parent e5a099df69
commit ca518888e7
1 changed files with 21 additions and 0 deletions

21
.readthedocs.yaml Normal file
View File

@ -0,0 +1,21 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt