At least, I *think* this should fix this. It does locally, but we'll
have to see what happens when I push it to RTD!
This commit is contained in:
Dave Jones
2016-08-29 22:44:27 +01:00
parent bc7588b96f
commit 38541889ca
2 changed files with 17 additions and 10 deletions

View File

@@ -2,17 +2,19 @@
gpiozero
========
.. image:: https://badge.fury.io/py/gpiozero.svg
:target: https://badge.fury.io/py/gpiozero
:alt: Latest Version
.. ifconfig:: html_theme == 'sphinx_rtd_theme'
.. image:: https://travis-ci.org/RPi-Distro/python-gpiozero.svg?branch=master
:target: https://travis-ci.org/RPi-Distro/python-gpiozero
:alt: Build Tests
.. image:: https://badge.fury.io/py/gpiozero.svg
:target: https://badge.fury.io/py/gpiozero
:alt: Latest Version
.. image:: https://img.shields.io/codecov/c/github/RPi-Distro/python-gpiozero/master.svg?maxAge=2592000
:target: https://codecov.io/github/RPi-Distro/python-gpiozero
:alt: Code Coverage
.. image:: https://travis-ci.org/RPi-Distro/python-gpiozero.svg?branch=master
:target: https://travis-ci.org/RPi-Distro/python-gpiozero
:alt: Build Tests
.. image:: https://img.shields.io/codecov/c/github/RPi-Distro/python-gpiozero/master.svg?maxAge=2592000
:target: https://codecov.io/github/RPi-Distro/python-gpiozero
:alt: Code Coverage
A simple interface to everyday GPIO components used with Raspberry Pi.

View File

@@ -46,7 +46,12 @@ sys.modules['spidev'] = Mock()
# -- General configuration ------------------------------------------------
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.intersphinx']
extensions = [
'sphinx.ext.autodoc', # support for automethod, autoclass, etc.
'sphinx.ext.viewcode', # support for "Source" links in output
'sphinx.ext.intersphinx', # support links to Python library docs etc.
'sphinx.ext.ifconfig', # support for ifconfig conditional includes
]
templates_path = ['_templates']
source_suffix = '.rst'
#source_encoding = 'utf-8-sig'