mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix #295
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:
@@ -2,15 +2,17 @@
|
|||||||
gpiozero
|
gpiozero
|
||||||
========
|
========
|
||||||
|
|
||||||
.. image:: https://badge.fury.io/py/gpiozero.svg
|
.. ifconfig:: html_theme == 'sphinx_rtd_theme'
|
||||||
|
|
||||||
|
.. image:: https://badge.fury.io/py/gpiozero.svg
|
||||||
:target: https://badge.fury.io/py/gpiozero
|
:target: https://badge.fury.io/py/gpiozero
|
||||||
:alt: Latest Version
|
:alt: Latest Version
|
||||||
|
|
||||||
.. image:: https://travis-ci.org/RPi-Distro/python-gpiozero.svg?branch=master
|
.. image:: https://travis-ci.org/RPi-Distro/python-gpiozero.svg?branch=master
|
||||||
:target: https://travis-ci.org/RPi-Distro/python-gpiozero
|
:target: https://travis-ci.org/RPi-Distro/python-gpiozero
|
||||||
:alt: Build Tests
|
:alt: Build Tests
|
||||||
|
|
||||||
.. image:: https://img.shields.io/codecov/c/github/RPi-Distro/python-gpiozero/master.svg?maxAge=2592000
|
.. 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
|
:target: https://codecov.io/github/RPi-Distro/python-gpiozero
|
||||||
:alt: Code Coverage
|
:alt: Code Coverage
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,12 @@ sys.modules['spidev'] = Mock()
|
|||||||
|
|
||||||
# -- General configuration ------------------------------------------------
|
# -- 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']
|
templates_path = ['_templates']
|
||||||
source_suffix = '.rst'
|
source_suffix = '.rst'
|
||||||
#source_encoding = 'utf-8-sig'
|
#source_encoding = 'utf-8-sig'
|
||||||
|
|||||||
Reference in New Issue
Block a user