Skip to content

Commit

Permalink
doc: Move settings to .readthedocs.yml
Browse files Browse the repository at this point in the history
To follow the new best practice for ReadTheDocs, move docs build related
settings to the .readthedocs.yml config file.
  • Loading branch information
feanil committed Jul 14, 2021
1 parent bc413a3 commit a6c9da0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -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
- epub

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: requirements/doc.txt

0 comments on commit a6c9da0

Please sign in to comment.