From 108781a1f2bb589295cedb8793d6bf2684ba9d16 Mon Sep 17 00:00:00 2001 From: Jason Antman Date: Wed, 30 Sep 2015 09:27:08 -0400 Subject: [PATCH] PR #64 - ignore :py:obj:function from sphinx warnings, it's not correctly documented upstream --- docs/source/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index c29ffdfb..35aca52f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -287,7 +287,10 @@ autoclass_content = 'init' autodoc_default_flags = ['members', 'undoc-members', 'private-members', 'special-members', 'show-inheritance'] -nitpick_ignore = [('py:class', 'ABCMeta')] +nitpick_ignore = [ + ('py:class', 'ABCMeta'), + ('py:obj', 'function') +] # exclude module docstrings - see http://stackoverflow.com/a/18031024/211734 def remove_module_docstring(app, what, name, obj, options, lines):