mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-12-08 20:39:01 +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,6 +2,8 @@
|
||||
gpiozero
|
||||
========
|
||||
|
||||
.. ifconfig:: html_theme == 'sphinx_rtd_theme'
|
||||
|
||||
.. image:: https://badge.fury.io/py/gpiozero.svg
|
||||
:target: https://badge.fury.io/py/gpiozero
|
||||
:alt: Latest Version
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user