From cbca6e5a487a63bc5be67ce4d6804c09ccc73ed2 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Fri, 14 Jul 2023 13:29:02 +0200 Subject: [PATCH] Add RTD build config in code --- .readthedocs.yaml | 26 ++++++++++++++++++++++++++ docs/requirements.txt | 0 2 files changed, 26 insertions(+) create mode 100644 .readthedocs.yaml create mode 100644 docs/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..9fa48bf --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,26 @@ +# .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-22.04 + tools: + python: "3.11" + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/source/conf.py + +# 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 + - requirements: requirements-devel.txt + - method: pip + path: . diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..e69de29