#9976: Decorated functions/methods have generic signature in documentation
--------------------------------+-------------------------------------------
Reporter: jsrn | Owner: mvngu
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.7
Component: documentation | Keywords: sphinx, documentation, cython
inspection
Author: jsrn, Simon King | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
Changes (by jsrn):
* status: needs_review => needs_work
Comment:
After upgrade to 4.7.alpha3 from 4.6.2, applying both patches, rebuilding
and then building documentation, it fails with the following error:
{{{
Running Sphinx v1.0.4
loading pickled environment... not yet created
building [html]: targets for 902 source files that are out of date
updating environment: 902 added, 0 changed, 0 removed
reading sources... [ 69%] sage/plot/colors
Exception occurred:
File "/home/jsrn/sage-dev/local/lib/python2.6/site-
packages/sage/plot/colors.py", line 1358, in __getitem__
raise KeyError("no colormap with name '%s'" % name)
KeyError: "no colormap with name '_sage_doc_'"
The full traceback has been saved in /tmp/sphinx-err-0GNrXK.log, if you
want to report the issue to the developers.
}}}
It seems to be from a call to _sage_getdoc_unformatted in sageinspect.py
on an object which does not support it.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9976#comment:22>
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.