Add .readthedocs.yml

This commit is contained in:
torzdf 2022-05-11 18:01:54 +01:00
parent c8643e6a3e
commit cf2cf090ee
2 changed files with 26 additions and 0 deletions

1
.gitignore vendored
View File

@ -20,6 +20,7 @@
!.install/
!.install/**
!config/
!.readthedocs.yml
!docs/
!docs/full**
!docs/_static**

25
.readthedocs.yml Normal file
View File

@ -0,0 +1,25 @@
# .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-20.04
tools:
python: "3.8"
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/spinx_requirements.txt