davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=c259d3f78369934481325a086141cffa03d0d8ed

commit c259d3f78369934481325a086141cffa03d0d8ed
Author: davemds <d...@gurumeditation.it>
Date:   Sun Apr 6 16:25:08 2014 +0200

    doc: ignore cython generated signature for classes
---
 doc/conf.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/conf.py b/doc/conf.py
index 7127244..8ba635d 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -156,7 +156,9 @@ autodoc_docstring_signature = True
 # autodoc_member_order = "bysource"
 
 def setup(app):
+    from sphinx.ext.autodoc import cut_lines
     app.connect('autodoc-process-signature', autodoc_process_signature)
+    app.connect('autodoc-process-docstring', cut_lines(2, what=['class']))
 
 def autodoc_process_signature(app, what, name, obj, options, signature, 
return_annotation):
     """Cleanup params: remove the 'self' param and all the cython types"""

-- 


Reply via email to