#7105: change search_doc and search_src so the links are opened in a new
tab/window
-----------------------------------+----------------------------------------
Reporter: was | Owner: boothby
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-4.7
Component: notebook | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Comment(by jhpalmieri):
Replying to [comment:7 kcrisman]:
> I have to say, I really don't like that it gives you the file. Getting
the whole plot/plot.py isn't very useful! I mean, you can do a text
search, but the command-line experience is much better than that.
I'm trying to think of what else we could do. If you do "search_src", it
opens up the source code, but there are no tags or any other way to
navigate the resulting page. Maybe we could highlight the search terms
somehow? This probably requires some javascript, about which I know
basically nothing. If you do "search_doc", it opens up the html
documentation, which has tags, and maybe we could jump to the tag nearest
the first instance of the search terms. Another option for search_doc
would be to defer to Sphinx's search, which highlights code and jumps to
some instance (not necessarily the first, maybe the best match?).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7105#comment:8>
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.