From 1f90103cff52b01546676ff2b85de4c848eeabcc Mon Sep 17 00:00:00 2001 From: Cristian Sirbu Date: Fri, 11 Oct 2024 18:24:51 +0100 Subject: [PATCH] Fix RTD docs builds --- .readthedocs.yaml | 22 ++++++++++++++++++++++ docs/requirements.txt | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..00d79f2 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,22 @@ +--- +# .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 version of Python in the build environment. +build: + os: "ubuntu-22.04" + tools: + python: "3.10" + +mkdocs: + configuration: "mkdocs.yml" + fail_on_warning: false + +# Use our docs/requirements.txt during installation. +python: + install: + - requirements: "docs/requirements.txt" diff --git a/docs/requirements.txt b/docs/requirements.txt index a3f3ac1..25da567 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,2 @@ -mkdocs==1.3.0 +mkdocs==1.6.0 markdown-include==0.6.0