From 6766bcaf27bf52c314219c21ffbf82d75b9a7602 Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Wed, 16 Aug 2023 18:33:24 -0600 Subject: [PATCH] Update ReadTheDocs configuration to avoid deprecation warnings with ReadTheDocs. --- .readthedocs.yaml | 17 ++++++++++++----- doc/requirements.txt | 4 ++-- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index ef29602..8ecaf93 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,9 +1,16 @@ +# required version: 2 -sphinx: - configuration: doc/src/conf.py +build: + os: ubuntu-20.04 + tools: + python: "3.9" +# Build documentation in the doc/src directory with Sphinx +sphinx: + configuration: doc/src/conf.py + +# declare Python requirements required to build docs python: - version: 3.8 - install: - - requirements: doc/requirements.txt + install: + - requirements: doc/requirements.txt diff --git a/doc/requirements.txt b/doc/requirements.txt index e18fa42..dcc8e5c 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,2 +1,2 @@ -sphinx==4.1.2 -sphinx_rtd_theme==0.5.1 +sphinx>=4.2.0 +sphinx-rtd-theme>=0.5.2