#5653: [with patch, needs work] display docstrings in the notebook using html
and
jsMath
-------------------------+--------------------------------------------------
Reporter: jhpalmieri | Owner: boothby
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.4.2
Component: notebook | Keywords:
-------------------------+--------------------------------------------------
Comment(by jhpalmieri):
Okay, here's a new version with
[http://sage.math.washington.edu/home/palmieri/misc/sphinx.png a new
picture]. This uses Pat LeSmithe's version of set_introspect_html (see
[http://groups.google.com/group/sage-
devel/browse_frm/thread/dc89425699137415 this thread]), with some
modifications.
Actually, this patch has three versions of set_introspect_html:
* SPHINX_set_introspect_html (modification of Pat LeSmithe's version
using Sphinx)
* PYGMENTS_set_introspect_html (Pat LeSmithe's version using pygments
-- doesn't do much for me)
* DOCUTILS_set_introspect_html (the version from the first patch)
You can edit server/notebook/cell.py, changing the line
{{{
set_introspect_html = SPHINX_set_introspect_html
}}}
to test out each one.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5653#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---