Add readthedocs configuration (#14413)

This commit is contained in:
Don Naro
2023-09-05 22:07:32 +01:00
committed by GitHub
parent 20fc7c702a
commit 5733f78fd8
3 changed files with 19 additions and 2 deletions

15
.readthedocs.yaml Normal file
View File

@@ -0,0 +1,15 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
build:
os: ubuntu-22.04
tools:
python: >-
3.11
commands:
- pip install --user tox
- python3 -m tox -e docs
- mkdir -p _readthedocs/html/
- mv docs/docsite/build/html/* _readthedocs/html/