From 79565d813185dbaa2711dfefc4f126eddfe32c2a Mon Sep 17 00:00:00 2001 From: MaGering Date: Mon, 11 Mar 2024 16:34:08 +0100 Subject: [PATCH] Fix build of docs Fix Error 'Config validation error in build.os. Value build not found.' Building docs errors out: Build # 23712488 latest Build fehlgeschlagen Error Config validation error in build.os. Value build not found. git clone --depth 1 https://github.com/rl-institut/oemof-B3 . git fetch origin --force --prune --prune-tags --depth 50 refs/heads/dev:refs/remotes/origin/dev git checkout --force origin/dev git clean -d -f -f cat .readthedocs.yml With this PR the solution proposed according to issue readthedocs/readthedocs.org#11173 -> https://docs.readthedocs.io/en/stable/config-file/v2.html --- .readthedocs.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 5e812ce7..d61fcdc1 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,12 +5,17 @@ # Required version: 2 +# Optionally set the version of Python and requirements required to build your docs +build: + os: ubuntu-22.04 + tools: + python: "3.10" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/conf.py # Optionally set the version of Python and requirements required to build your docs python: - version: "3.7" install: - requirements: docs/docs_requirements.txt