Upgrade readthedocs build

- add .readthedocs file
- upgrade sphinx
- remove old python launch shebang
pull/2399/head
Åke Forslund 2019-11-26 22:41:38 +01:00
parent fc7847029c
commit 98e3d44514
3 changed files with 21 additions and 4 deletions

19
.readthedocs Normal file
View File

@ -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

View File

@ -1,5 +1,3 @@
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
#
# Copyright 2017 Mycroft AI Inc.
#

View File

@ -1,2 +1,2 @@
sphinx>= 1.8.1
sphinx_rtd_theme>=0.4.2
sphinx>= 2.2.1
sphinx_rtd_theme>=0.4.3