From 4dc74175cc48d8dcfa40d250bbec90bd04328ed2 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Wed, 16 Aug 2023 16:46:33 +0200 Subject: [PATCH] Use a YAML file and Python requirements The `.readthedocs.yaml` file is now required. Besdies, we are not installing the Read the Docs Sphinx theme by default. Due to that, we need to manually install it via `requirements.txt` --- .readthedocs.yaml | 10 ++++++++++ docs/requirements.txt | 2 ++ 2 files changed, 12 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 000000000..8065b8776 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,10 @@ +version: "2" + +build: + os: "ubuntu-22.04" + tools: + python: "3.10" + +python: + install: + - requirements: docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..53fc1f32e --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +sphinx==7.1.2 +sphinx-rtd-theme==1.3.0rc1