Added autointerface sphinx support (repoze.sphinx.autointerface) doc-dc
authorDamien Correia
Thu, 12 Apr 2018 18:01:15 +0200
branchdoc-dc
changeset 49 a33f67e15345
parent 48 ca7d05086e67
child 50 6ed429390935
Added autointerface sphinx support (repoze.sphinx.autointerface)
buildout.cfg
requirements.txt
setup.py
src/source/conf.py
--- a/buildout.cfg	Thu Apr 12 14:08:01 2018 +0200
+++ b/buildout.cfg	Thu Apr 12 18:01:15 2018 +0200
@@ -94,6 +94,7 @@
 eggs =
     ${package:eggs}
     sphinx_rtd_theme
+    repoze.sphinx.autointerface
 source = ${buildout:directory}/src/source
 build = ${buildout:directory}/src/build
 
--- a/requirements.txt	Thu Apr 12 14:08:01 2018 +0200
+++ b/requirements.txt	Thu Apr 12 18:01:15 2018 +0200
@@ -41,3 +41,5 @@
 websockets==3.4
 WebOb==1.7.4
 ZODB==5.3.0
+sphinx_rtd_theme==0.2.4
+repoze.sphinx.autointerface==0.8
--- a/setup.py	Thu Apr 12 14:08:01 2018 +0200
+++ b/setup.py	Thu Apr 12 18:01:15 2018 +0200
@@ -62,7 +62,8 @@
       extras_require=dict(test=tests_require),
       install_requires=[
           'setuptools',
-          'sphinx_rtd_theme'
+          'sphinx_rtd_theme',
+          'repoze.sphinx.autointerface',
           # -*- Extra requirements: -*-
       ],
       entry_points={})
--- a/src/source/conf.py	Thu Apr 12 14:08:01 2018 +0200
+++ b/src/source/conf.py	Thu Apr 12 18:01:15 2018 +0200
@@ -70,9 +70,12 @@
     'sphinx.ext.autodoc',
     'sphinx.ext.todo',
     'sphinx.ext.coverage',
-    'sphinx.ext.viewcode'
+    'sphinx.ext.viewcode',
+    'repoze.sphinx.autointerface',
 ]
 
+autoclass_content = 'both'
+
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']