add rtd conf

This commit is contained in:
zpavel 2021-04-12 13:43:17 +05:00
parent 620fe9ee6f
commit b8daba1990
3 changed files with 23 additions and 0 deletions

21
.readthedocs.yaml Normal file
View File

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

1
docs/conf.py Normal file
View File

@ -0,0 +1 @@
extensions = ['myst_parser']

1
docs/requirements.txt Normal file
View File

@ -0,0 +1 @@
myst-parser