From 98e3d445144607f6a858c28a9046f08e41a627ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85ke=20Forslund?= Date: Tue, 26 Nov 2019 22:41:38 +0100 Subject: [PATCH] Upgrade readthedocs build - add .readthedocs file - upgrade sphinx - remove old python launch shebang --- .readthedocs | 19 +++++++++++++++++++ doc/conf.py | 2 -- doc/requirements.txt | 4 ++-- 3 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 .readthedocs diff --git a/.readthedocs b/.readthedocs new file mode 100644 index 0000000000..6bdb6fdd11 --- /dev/null +++ b/.readthedocs @@ -0,0 +1,19 @@ +# .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: doc/conf.py + +# Build all formats +formats: all + +# Set the version of Python and requirements required to build your docs +python: + version: 3.7 + install: + - requirements: docs/requirements.txt diff --git a/doc/conf.py b/doc/conf.py index 84e5ce7f3c..8d72cb39cf 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python2 -# -*- coding: utf-8 -*- # # Copyright 2017 Mycroft AI Inc. # diff --git a/doc/requirements.txt b/doc/requirements.txt index cd8e2b5b3d..eda6e960cd 100755 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,2 +1,2 @@ -sphinx>= 1.8.1 -sphinx_rtd_theme>=0.4.2 +sphinx>= 2.2.1 +sphinx_rtd_theme>=0.4.3