Add readthedocs config

This commit is contained in:
Laurent Savaete
2020-10-01 17:27:57 +01:00
parent b344000524
commit f3bb8d2a6c
2 changed files with 22 additions and 0 deletions

20
.readthedocs.yml Normal file
View File

@@ -0,0 +1,20 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Build documentation with MkDocs
mkdocs:
configuration: mkdocs.yml
# Optionally build your docs in additional formats such as PDF
formats:
- pdf
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/requirements.txt

2
docs/requirements.txt Normal file
View File

@@ -0,0 +1,2 @@
mkautodoc==0.1.0 \
--hash=sha256:7c2595f40276b356e576ce7e343338f8b4fa1e02ea904edf33fadf82b68ca67c