Adjust readthedocs to not use requirements files

Remove .yml since RTD considers it deprecated.
This commit is contained in:
James R. Barlow
2021-06-10 00:21:11 -07:00
parent 4030258bbc
commit d293e05946
3 changed files with 23 additions and 11 deletions

2
.gitignore vendored
View File

@@ -6,7 +6,7 @@
!.gitattributes
!.gitignore
!.pre-commit-config.yaml
!.readthedocs.yml
!.readthedocs.yaml
!.github/
!.docker/

22
.readthedocs.yaml Normal file
View File

@@ -0,0 +1,22 @@
# 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
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs

View File

@@ -1,10 +0,0 @@
build:
image: latest
python:
version: 3.6
formats:
- pdf
requirements_file: requirements/main.txt