[issue19039] sphinx search, result sorting

2013-09-18 Thread Georg Brandl

Georg Brandl added the comment:

Searching in headings is implemented in Sphinx 1.2 (soon to be released).  
We'll switch to that version at least for 3.3 and 3.4 when it's out, so you 
will get the result for the heading there.

The PyOS_snprintf will still be the first result, since results in object 
names are always the first preference.  But the second preference will be 
heading names.

--
resolution:  - later
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19039
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19039] sphinx search, result sorting

2013-09-18 Thread Georg Brandl

Georg Brandl added the comment:

Searching in headings is implemented in Sphinx 1.2 (soon to be released).  
We'll switch to that version at least for 3.3 and 3.4 when it's out, so you 
will get the result for the heading there.

The PyOS_snprintf will still be the first result, since results in object 
names are always the first preference.  But the second preference will be 
heading names.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19039
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19039] sphinx search, result sorting

2013-09-17 Thread Thomas Guettler

New submission from Thomas Guettler:

If you search for printf in the docs you get this result:

http://docs.python.org/3.3/search.html?q=printfcheck_keywords=yesarea=default

Please have a look at the first results. I guess most people don't want to see 
docs about PyOS_snprintf

Most people want to see this: 
http://docs.python.org/3.3/library/stdtypes.html?highlight=printf#printf-style-string-formatting

The good page (stdtypes.html) is the fourth search result.
And this page is huge. Unfortunately the link from the search result does not 
link to the section, it links to the top of the page.

 Since printf is in the heading, sphinx should be able to create a link to 
the relevant section in this page (in this example 
#printf-style-string-formatting).


Thank you

--
assignee: docs@python
components: Documentation
messages: 197963
nosy: docs@python, guettli
priority: normal
severity: normal
status: open
title: sphinx search, result sorting

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19039
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19039] sphinx search, result sorting

2013-09-17 Thread R. David Murray

R. David Murray added the comment:

This is a Sphinx issue and should be reported on the Sphinx tracker...although 
I think Sphinx uses a 3rd party tool for the sorting, so it might go back up 
even a level further :).  

I don't think there's any reason to keep this issue open here, but I'll leave 
that up to Georg.

--
assignee: docs@python - 
nosy: +georg.brandl, r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19039
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com