From 1c02ba0e4348edea66c30977e21da3df5bb495af Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Wed, 15 Jan 2025 15:46:00 +0100 Subject: [PATCH] Set up for ReadTheDocs (#65) Update RTD config. Closes #8. --- .readthedocs.yaml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index b6dc0ab..1c73087 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,14 +1,15 @@ -# .readthedocs.yaml (version 2) -version: 2 +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details -build: - environment: - GITHUB_API_TOKEN: ${GITHUB_API_TOKEN} +version: 2 sphinx: - configuration: docs/conf.py + builder: html + configuration: doc/conf.py + fail_on_warning: True -python: - version: 3.8 - install: - - requirements: docs/requirements.txt +build: + os: "ubuntu-22.04" + tools: + python: "3.12"