summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2018-09-23 08:36:28 -0500
committerJason Madden <jamadden@gmail.com>2018-09-24 16:06:19 -0500
commitc3d6f2413158b812ee2ad9b91010e34defe5198c (patch)
treed5e3fb8ee9091871c202eb2128f2101039007e4c
parent92812e6edfd669262a8d4bd4f106c56b383b7f51 (diff)
downloadzope-configuration-c3d6f2413158b812ee2ad9b91010e34defe5198c.tar.gz
Add intersphinx mapping for Python and zope.schema
-rw-r--r--docs/conf.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 52cb281..9fffd20 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -32,6 +32,7 @@ rqmt = pkg_resources.require('zope.configuration')[0]
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
+ 'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.viewcode',
'repoze.sphinx.autointerface',
@@ -250,3 +251,12 @@ texinfo_documents = [
# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'
+
+intersphinx_mapping = {
+ 'https://docs.python.org/': None,
+ 'https://zopeschema.readthedocs.io/en/latest': None,
+}
+
+autodoc_default_flags = ['members', 'show-inheritance']
+autoclass_content = 'both'
+autodoc_member_order = 'bysource'