From 2b662c68f42bf34c62ba09c348bdf4f7a90419d2 Mon Sep 17 00:00:00 2001 From: Simon Perkins Date: Tue, 9 Apr 2024 12:36:12 +0200 Subject: [PATCH] Add .requirements.readthedocs.yaml --- .requirements.readthedocs.yaml | 35 ++++++++++++++++++++++++++++++++++ requirements.readthedocs.txt | 3 --- 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 .requirements.readthedocs.yaml delete mode 100644 requirements.readthedocs.txt diff --git a/.requirements.readthedocs.yaml b/.requirements.readthedocs.yaml new file mode 100644 index 00000000..dc8e22cd --- /dev/null +++ b/.requirements.readthedocs.yaml @@ -0,0 +1,35 @@ +# Read the Docs configuration file for Sphinx projects +# 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-22.04 + tools: + python: "3.11" + # You can also specify other tool versions: + # nodejs: "20" + # rust: "1.70" + # golang: "1.20" + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/conf.py + # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs + # builder: "dirhtml" + # Fail on all warnings to avoid broken references + # fail_on_warning: true + +# Optionally build your docs in additional formats such as PDF and ePub +# formats: +# - pdf +# - epub + +# Optional but recommended, declare the Python requirements required +# to build your documentation +# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +# python: +# install: +# - requirements: docs/requirements.txt diff --git a/requirements.readthedocs.txt b/requirements.readthedocs.txt deleted file mode 100644 index 60daa9df..00000000 --- a/requirements.readthedocs.txt +++ /dev/null @@ -1,3 +0,0 @@ -docutils==0.16 -numpydoc==1.2 -sphinx==4.4.0