From cfd7d6daf5104f78cdbe0e25f0b197d2dc53c9e0 Mon Sep 17 00:00:00 2001 From: "Jeffrey A. Clark" Date: Wed, 29 Oct 2025 17:47:38 -0400 Subject: [PATCH] Add RTD config --- .readthedocs.yaml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 9112659..18f9ef9 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,22 +1,25 @@ +# .readthedocs.yaml # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details # Required version: 2 -# Set the OS, Python version, and other tools you might need -build: - os: ubuntu-24.04 - tools: - python: "3.13" - -# Build documentation in the "docs/" directory with Sphinx +# Build documentation in the doc/ directory with Sphinx sphinx: + builder: dirhtml configuration: docs/source/conf.py + fail_on_warning: true -# Optionally, but recommended, -# declare the Python requirements required to build your documentation -# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +# Set the version of Python and requirements required to build the docs. python: install: - - requirements: docs/requirements.txt + - method: pip + path: . + extra_requirements: + - docs + +build: + os: ubuntu-lts-latest + tools: + python: "3.13"