Control which version of mkdocs is install on readthedocs

This commit is contained in:
Yohan Boniface 2023-04-30 11:35:23 +02:00
parent 9b9d1a01d6
commit 5e3a92d173
2 changed files with 22 additions and 0 deletions

20
.readthedocs.yaml Normal file
View file

@ -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

2
docs/requirements.txt Normal file
View file

@ -0,0 +1,2 @@
# Force rtfd to use a recent version of mkdocs
mkdocs==1.4.2