From 40a40af95228f50cf8465881b75138a168db0e7a Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sun, 19 Jul 2020 20:28:21 -0700 Subject: [PATCH] Fix readthedocs.io build process (#1004) * fix readthedocs.io build process --- docs/requirements.txt | 1 + readthedocs.yml | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 docs/requirements.txt create mode 100644 readthedocs.yml diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000..33dff294 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +mkdocs==1.1 diff --git a/readthedocs.yml b/readthedocs.yml new file mode 100644 index 00000000..dabbddc7 --- /dev/null +++ b/readthedocs.yml @@ -0,0 +1,22 @@ +# readthedocs.yml +# 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 +mkdocs: + configuration: mkdocs.yml + fail_on_warning: false + +# 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.7 + install: + - requirements: docs/requirements.txt