#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
Author: jsrn | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Comment(by SimonKing):
Replying to [comment:18 SimonKing]:
> Then, I bumped it up, and inserted a `raise RuntimeError` into the first
line of both methods. Nevertheless, the documentation builds as it did
before.
>
> So, I must conclude that neither version of `get_doc` is used to get
documentation.
No, the reason for that behaviour is that apparently the documentation is
cached on disk. In other words, I had to delete the html file '''and''' to
touch the code from which the documentation was taken, '''and''' to do
"sage -b".
After that preparation, things worked.
My question to you: How can I completely wipe the cache?
I have to leave office now. But I guess a bit later today, or tomorrow, I
will be able to provide a patch on top of yours. Its purpose is to allow
for Cython objects to provide a documentation that is different from the
documentation of their class, and it also provides the possibility to
inspect Cython code that is defined during an interactive session.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9976#comment:19>
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.