X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/b4cd9f878117f7398442acb09d40b520f321a91d..0959d38b27c03863ec376839dcc6d896d04e36ea:/docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index d6c70af..b4b1e16 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,7 +31,7 @@ needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['djangodocs', 'sphinx.ext.autodoc'] +extensions = ['djangodocs', 'sphinx.ext.autodoc', 'philodocs'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -225,3 +225,12 @@ man_pages = [ ('index', 'philo', u'Philo Documentation', [u'Stephen Burrows'], 1) ] + +def skip_attribute_attrs(app, what, name, obj, skip, options): + if name in ("attribute_set", "get_attribute_mapper", "nodes"): + return True + return skip + +def setup(app): + app.connect('autodoc-skip-member', skip_attribute_attrs) + #app.connect('autodoc-process-signature', )