From 5e3a92d173674622fba647a23d9d773f5c0d2281 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sun, 30 Apr 2023 11:35:23 +0200 Subject: [PATCH] Control which version of mkdocs is install on readthedocs --- .readthedocs.yaml | 20 ++++++++++++++++++++ docs/requirements.txt | 2 ++ 2 files changed, 22 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 00000000..e2645f94 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,20 @@ +# .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 and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +mkdocs: + configuration: mkdocs.yml + +# Optionally declare the Python requirements required to build your docs +python: + install: + - requirements: docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000..c8c0c847 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +# Force rtfd to use a recent version of mkdocs +mkdocs==1.4.2