From 84661add29c274facde5ef35f0d2dba83eae24af Mon Sep 17 00:00:00 2001 From: Ben Farley <47006790+farleyb-amazon@users.noreply.github.com> Date: Wed, 10 Nov 2021 15:58:20 -0700 Subject: [PATCH] chore: Fix readthedocs builds (#190) --- .readthedocs.yaml | 22 ++++++++++++++++++++++ doc/requirements.txt | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..f2b0657b --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,22 @@ +# .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 doc/ directory with Sphinx +sphinx: + configuration: doc/conf.py + +# Don't need to build documentation for test vectors or any other +# sub modules +submodules: + exclude: all + +python: + version: 3.8 + install: + - requirements: doc/requirements.txt + - method: setuptools + path: . diff --git a/doc/requirements.txt b/doc/requirements.txt index 29e31945..69e61c10 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,2 +1,2 @@ -sphinx>=1.3.0 -sphinx_rtd_theme \ No newline at end of file +sphinx==4.2.0 +sphinx_rtd_theme==1.0.0