From d293e05946ce4c421196b7aee940ea964fa8ca55 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Thu, 10 Jun 2021 00:21:11 -0700 Subject: [PATCH] Adjust readthedocs to not use requirements files Remove .yml since RTD considers it deprecated. --- .gitignore | 2 +- .readthedocs.yaml | 22 ++++++++++++++++++++++ .readthedocs.yml | 10 ---------- 3 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 .readthedocs.yaml delete mode 100644 .readthedocs.yml diff --git a/.gitignore b/.gitignore index 39ace52f..1481bb33 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ !.gitattributes !.gitignore !.pre-commit-config.yaml -!.readthedocs.yml +!.readthedocs.yaml !.github/ !.docker/ diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..3c67df11 --- /dev/null +++ b/.readthedocs.yaml @@ -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 diff --git a/.readthedocs.yml b/.readthedocs.yml deleted file mode 100644 index de4ec366..00000000 --- a/.readthedocs.yml +++ /dev/null @@ -1,10 +0,0 @@ -build: - image: latest - -python: - version: 3.6 - -formats: - - pdf - -requirements_file: requirements/main.txt