From 2c35253b571eb9d9177aa93e00af2e3926e2bb96 Mon Sep 17 00:00:00 2001 From: Benjamin Alan Weaver <benjamin.weaver@noirlab.edu> Date: Tue, 2 Apr 2024 09:32:22 -0700 Subject: [PATCH] update RTD configuration --- .gitignore | 1 + .readthedocs.yml | 15 +++++++++++---- doc/rtd-requirements.txt | 4 ++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 doc/rtd-requirements.txt diff --git a/.gitignore b/.gitignore index ccaaf3e91..f3660e83f 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,7 @@ htmlcov/ .tox/ .coverage .cache +.pytest_cache/ nosetests.xml coverage.xml diff --git a/.readthedocs.yml b/.readthedocs.yml index ef2079e37..2cd1f4517 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,13 +5,20 @@ # Required version: 2 -# Build documentation in the docs/ directory with Sphinx +build: + os: "ubuntu-22.04" + tools: + python: "3.10" + +# Build documentation in the doc/ directory with Sphinx sphinx: configuration: doc/conf.py -# Optionally build your docs in additional formats such as PDF -formats: all +# Optionally build your docs in additional formats such as PDF and ePub +# formats: all # Optionally set the version of Python and requirements required to build your docs python: - version: 3 + install: + - requirements: doc/rtd-requirements.txt + diff --git a/doc/rtd-requirements.txt b/doc/rtd-requirements.txt new file mode 100644 index 000000000..8e0f63916 --- /dev/null +++ b/doc/rtd-requirements.txt @@ -0,0 +1,4 @@ +setuptools>60 +Sphinx>6,<7 +sphinx-rtd-theme>1 +urllib3<2