2009/4/1 John H Palmieri <jhpalmier...@gmail.com>:
>
> On Mar 31, 11:10 pm, Pat LeSmithe <qed...@gmail.com> wrote:
>> After some manual inspection of Sphinx's cmdline.py, I think I've made
>> some [crude] progress (screenshot attached).  In cell.py, I replaced
>> Cell.set_introspect_html() with
>
> This is cool.  I've modified it a bit: I've deleted some of the html
> and I've added some of the style sheet stuff to server/notebook/
> css.py.  I'll try to add a patch to the trac ticket later today.
>
>> This has many problems:
>>
>> * It creates a new temporary directory for every non-completing
>> introspection.
>
> Right, and I think this makes it a bit slower than the ideal.  I don't
> know if it's too slow to be usable.
>
>> * It needs CSS class-fication, e.g., with class="introspection", to
>> avoid spontaneously restyling other page elements.
>
> I think I've fixed this.
>
>> * It doesn't touch completions.  Perhaps this is OK.
>
> Well, typing
>
>  sage.algebras.steenrod_algebra
>
> doesn't even produce a docstring with my version of your patch.
>
>> * ?? output has extra triple quotes.
>
> Hmm.  I haven't looked into this.
>
>> * It still doesn't get the math right, though I think it does link to
>> some jsMath code.
>
> I've fixed this.
>
>> * Search doesn't work.
>> * Links to the source and index are broken.  I tried, unsuccessfully, to
>> move the sidebar to the right (seehttp://sphinx.pocoo.org/theming.html).
>> * No cross-links.  Maybe doctreedir and freshenv are relevant here, too.
>
> I've deleted all of the extra stuff: just show the docstring.
>
> Here's a link to a new picture: (how do I add links to posts?)
>
> <http://sage.math.washington.edu/home/palmieri/misc/sphinx.png>
>
>  John

Can you post your new code so I can try it out? :-)

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to