# HG changeset patch # User Damien Correia # Date 1523548875 -7200 # Node ID a33f67e15345f0a90af11ce033aec5448030120a # Parent ca7d05086e67e1a190e20761b9bc5e1f82641c87 Added autointerface sphinx support (repoze.sphinx.autointerface) diff -r ca7d05086e67 -r a33f67e15345 buildout.cfg --- 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 diff -r ca7d05086e67 -r a33f67e15345 requirements.txt --- 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 diff -r ca7d05086e67 -r a33f67e15345 setup.py --- 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={}) diff -r ca7d05086e67 -r a33f67e15345 src/source/conf.py --- 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']