From c7a0398e3d8dc0078eaacf3e61a88da21232a902 Mon Sep 17 00:00:00 2001 From: Zack Lovatt Date: Tue, 26 Oct 2021 12:02:30 -0700 Subject: [PATCH] Pin docsutil version in requirements to fix build issue; add rtd config --- .readthedocs.yaml | 29 +++++++++++++++++++++++++++++ requirements.txt | 3 ++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..b8afe41 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,29 @@ +# .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: 2.7 + # You can also specify other tool versions: + # nodejs: "16" + # rust: "1.55" + # golang: "1.17" + +# 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: requirements.txt diff --git a/requirements.txt b/requirements.txt index 856b3f4..4367d3d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ sphinx -sphinx_rtd_theme \ No newline at end of file +sphinx_rtd_theme +docutils<0.18