From c801e79d4b78fce44a40f4bebc3fc411088fc615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastien=20G=C3=A9rard?= Date: Sun, 18 Oct 2020 21:33:30 +0200 Subject: [PATCH] Fix readthedocs build that failed by making it use python3 instead of default python2.7 --- .readthedocs.yml | 20 ++++++++++++++++++++ requirements.txt | 6 +++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 .readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 00000000..f4ada8bb --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,20 @@ +# .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 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: + - requirements: docs/requirements.txt diff --git a/requirements.txt b/requirements.txt index 0ce39f74..abd12629 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -pymongo>=3.4 -Sphinx==1.5.5 -sphinx-rtd-theme==0.2.4 +pymongo>=3.11 +Sphinx==3.2.1 +sphinx-rtd-theme==0.5.0