From: Dave Miller Date: Thu, 25 Sep 2025 23:13:07 +0000 (-0400) Subject: Bug 1990724: Updated RTD config (#210) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=79343654696488e9cb7692e95138b0cc714a73ba;p=thirdparty%2Fbugzilla.git Bug 1990724: Updated RTD config (#210) --- diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 388f03276..67fc993bb 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,8 +1,8 @@ version: 2 build: - os: "ubuntu-20.04" + os: "ubuntu-22.04" tools: - python: "3.10" + python: "3.11" apt_packages: - libfile-copy-recursive-perl jobs: @@ -10,7 +10,12 @@ build: - perl docs/makedocs.pl --pod-only - cp -rp docs/en/html/integrating/api/ "$READTHEDOCS_OUTPUT/html/integrating/api" - cp -p docs/en/html/style.css "$READTHEDOCS_OUTPUT/html/" -format: +sphinx: + configuration: docs/en/rst/conf.py +python: + install: + - requirements: docs/requirements.txt +formats: - htmlzip - pdf - epub diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..705daff87 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,3 @@ +sphinx==5.3.0 +sphinx_rtd_theme==1.3.0 +readthedocs-sphinx-search==0.3.2