#12849: The argspecs of extension function/methods is broken in the Sphinx
documentation
-----------------------------------+----------------------------------------
Reporter: hivert | Owner: mvngu, hivert
Type: defect | Status: new
Priority: critical | Milestone: sage-5.0
Component: documentation | Resolution:
Keywords: argspecs Cython | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------------+----------------------------------------
Comment (by hivert):
Hi,
I got the fix ! I'm definitely the culprit. For strange reason the
following lines were removed by #9128. Putting them back should fix the
problem.
{{{
#!diff
diff --git a/doc/common/conf.py b/doc/common/conf.py
--- a/doc/common/conf.py
+++ b/doc/common/conf.py
@@ -576,6 +576,8 @@ def find_sage_dangling_links(app, env, n
newnode.append(contnode)
return newnode
+from sage.misc.sageinspect import sage_getargspec
+autodoc_builtin_argspec = sage_getargspec
def setup(app):
app.connect('autodoc-process-docstring', process_docstring_cython)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12849#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.