changeset 14:3d6cb4d8c13c draft

Add intersphinx for CirxuitPython
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Fri, 25 Aug 2017 10:05:53 +0200
parents 410d5f75d99c
children 444784c47447
files docs/conf.py
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/docs/conf.py	Fri Aug 25 10:00:12 2017 +0200
+++ b/docs/conf.py	Fri Aug 25 10:05:53 2017 +0200
@@ -30,8 +30,7 @@
 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
-extensions = ['sphinx.ext.intersphinx',
-    'sphinx.ext.viewcode']
+extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.viewcode']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -83,7 +82,7 @@
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
-html_theme = 'nature'
+html_theme = 'alabaster'
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
@@ -149,7 +148,7 @@
 #  dir menu entry, description, category)
 texinfo_documents = [
     (master_doc, 'PewPew', u'PewPew Documentation',
-     author, 'PewPew', 'One line description of project.',
+     author, 'PewPew', 'PewPew FeatherWing Documentation.',
      'Miscellaneous'),
 ]
 
@@ -157,4 +156,7 @@
 
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'https://docs.python.org/': None}
+intersphinx_mapping = {
+    'https://docs.python.org/': None,
+    'http://circuitpython.readthedocs.io/en/latest/': 'cp',
+}