From a094ebb75d4c6970ff1228572366fecd09f1a186 Mon Sep 17 00:00:00 2001 From: jkoan Date: Wed, 27 Dec 2023 13:21:15 +0100 Subject: [PATCH] Added: Add config-File for Read the Docs as this is required now (#1253) * Added: Add config-File for Read the Docs as this is required now * Fixed: Add requirements on the theme --- .readthedocs.yaml | 21 +++++++++++++++++++++ docs/requirements.txt | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000000..37a6c639e1 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,21 @@ +# Read the Docs configuration file for Sphinx projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "3.12" + +# Build from the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + +# Explicitly set the version of Python and its requirements +python: + install: + - requirements: docs/requirements.txt + +formats: all + diff --git a/docs/requirements.txt b/docs/requirements.txt index d9ac8d4927..4b8ea67df9 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1 +1,3 @@ m2r2 +sphinx_rtd_theme==2.0.0 +readthedocs-sphinx-search==0.3.1 \ No newline at end of file