diff --git a/wsme/sphinxext.py b/wsme/sphinxext.py index 5a6d02f..5a97fb4 100644 --- a/wsme/sphinxext.py +++ b/wsme/sphinxext.py @@ -194,6 +194,8 @@ class TypeDocumenter(autodoc.ClassDocumenter): return False def add_content(self, more_content, no_docstring=False): + super(TypeDocumenter, self).add_content( + more_content, no_docstring) protocols = get_protocols( self.options.protocols or self.env.app.config.wsme_protocols ) @@ -220,8 +222,6 @@ class TypeDocumenter(autodoc.ClassDocumenter): self.add_line(line, u'') - super(TypeDocumenter, self).add_content( - more_content, no_docstring) class AttributeDocumenter(autodoc.AttributeDocumenter):