Merge branch 'tkrizek/readthedocs-config-9.18' into 'bind-9.18'

[9.18] Add configuration for readthedocs.org

See merge request isc-projects/bind9!8109
This commit is contained in:
Tom Krizek 2023-07-18 14:59:51 +00:00
commit 5cd6d2e70b
3 changed files with 24 additions and 3 deletions

20
.readthedocs.yaml Normal file
View file

@ -0,0 +1,20 @@
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
# Build documentation in doc/arm/ with Sphinx
sphinx:
configuration: doc/arm/conf.py
# Build all formats
formats: all
# Explicitly set the version of Python and its requirements
python:
install:
- requirements: doc/arm/requirements.txt

View file

@ -153,6 +153,7 @@ Files: **/.clang-format
.gitlab-ci.yml
.lgtm.yml
.pylintrc
.readthedocs.yaml
.tsan-suppress
.uncrustify.cfg
doc/misc/*.zoneopt

View file

@ -1,5 +1,5 @@
# Make Read the Docs use the exact same package versions as in
# registry.gitlab.isc.org/isc-projects/images/bind9:debian-bullseye-amd64
Sphinx==5.3.0
docutils==0.17.1
sphinx_rtd_theme==1.0.0
Sphinx==6.1.3
docutils==0.18.1
sphinx_rtd_theme==1.2.0