This commit is contained in:
Thomas Nagy 2016-06-25 13:12:59 +02:00
parent 2c76187d41
commit 96f4ebc52f
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 2 additions and 4 deletions

View File

@ -482,7 +482,7 @@ htmlhelp_basename = 'wafdoc'
# -- Options for LaTeX output --------------------------------------------------
# The paper size ('letter' or 'a4').
#latex_paper_size = 'letter'
latex_paper_size = 'a4'
# The font size ('10pt', '11pt' or '12pt').
#latex_font_size = '10pt'
@ -535,13 +535,11 @@ def maybe_skip_member(app, what, name, obj, skip, options):
# from http://sphinx.pocoo.org/ext/autodoc.html#event-autodoc-skip-member
# param name: the fully qualified name of the object <- it is not, the name does not contain the module path
if name == 'Nod3':
if name in ('__doc__', '__module__', 'Nod3', '__weakref__'):
return True
global exclude_taskgen
if what == 'class' and name in exclude_taskgen:
return True
if name == '__weakref__':
return True
if obj.__doc__:
return False