From 96f4ebc52fc3cd8bcc59ee6a701645d4a3024742 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sat, 25 Jun 2016 13:12:59 +0200 Subject: [PATCH] Api docs --- docs/sphinx/conf.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index b0f33388..b8b2d3a7 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -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