From eef6006ac87e29be14268d768209de2caccac6b4 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Fri, 8 Oct 2010 21:13:14 +0200 Subject: refining documentation a bit --- doc/conf.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/conf.py') diff --git a/doc/conf.py b/doc/conf.py index 0221785..314ab5b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -255,3 +255,10 @@ epub_copyright = u'2010, holger krekel' # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = {'http://docs.python.org/': None} + +def setup(app): + #from sphinx.ext.autodoc import cut_lines + #app.connect('autodoc-process-docstring', cut_lines(4, what=['module'])) + app.add_description_unit('confval', 'confval', + objname='configuration value', + indextemplate='pair: %s; configuration value') -- cgit v1.2.1