]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - docs/conf.py
Merge pull request #12 from tannewt/auto_pypi
[Adafruit_Blinka-hackapet.git] / docs / conf.py
old mode 100644 (file)
new mode 100755 (executable)
index 627addf..4e0f359
@@ -2,7 +2,7 @@
 
 import os
 import sys
-sys.path.insert(0, os.path.abspath('..'))
+sys.path.insert(0, os.path.abspath('../src'))
 
 # -- General configuration ------------------------------------------------
 
@@ -18,9 +18,10 @@ extensions = [
 # Uncomment the below if you use native CircuitPython modules such as
 # digitalio, micropython and busio. List the modules you use. Without it, the
 # autodoc module docs will fail to generate with a warning.
-# autodoc_mock_imports = ["digitalio", "busio"]
+autodoc_mock_imports = ["machine"]
 
-intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}
+intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),
+                       'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -40,9 +41,9 @@ author = u'cefn'
 # built documents.
 #
 # The short X.Y version.
-version = u'1.0'
+version = u'1.0.0'
 # The full version, including alpha/beta/rc tags.
-release = u'1.0'
+release = u'1.0.0'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.