Search is very strict, and often fails to find anything #45972

Closed
opened 2015-09-01 04:20:49 +02:00 by gandalf3 · 8 comments
Member

Search strings with numbers (3D cursor, 3D view) fail to find anything.
This does not happen on the python docs.

In addition partial strings don't appear to work. For example, [searching for "dupli" ]] doesn't find any [ http:*blender.org/manual/modeling/objects/duplication/index.html | dupliobject pages .
The python docs do appear to list partial matches (you may need to scroll down a bit).

[Search strings with numbers ](http://blender.org/manual/search.html?q=3D%20cursor&check_keywords=yes&area=default) (3D cursor, 3D view) fail to find anything. This [does not happen ](https://docs.python.org/3.4/search.html?q=base64) on the python docs. In addition partial strings don't appear to work. For example, [searching for "dupli" ]] doesn't find any [[ http:*blender.org/manual/modeling/objects/duplication/index.html | dupliobject pages ](http:*blender.org/manual/search.html?q=dupli&check_keywords=yes&area=default). The python docs [do appear to list partial matches ](https://docs.python.org/3.4/search.html?q=exp) (you may need to scroll down a bit).
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @gandalf3

Added subscriber: @gandalf3

Added subscriber: @catlover2

Added subscriber: @catlover2

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Campbell Barton self-assigned this 2015-09-01 08:21:09 +02:00

Unless this is blocking our progress, improvements to Sphinx better be reported to them directly.
https://github.com/sphinx-doc/sphinx/issues

Unless this is blocking our progress, improvements to Sphinx better be reported to them directly. https://github.com/sphinx-doc/sphinx/issues
Author
Member

@ideasman42 I thought that since these limitations don't appear on the python docs (these use sphinx too afaik?) this was more likely something specific to the blender manual setup.
As a matter of fact, [partial matches ]] and [ http:*www.blender.org/api/blender_python_api_2_75_3/search.html?q=3D+view | number searches appear to be working in the blender python API docs too.

@ideasman42 I thought that since these limitations don't appear on the python docs (these use sphinx too afaik?) this was more likely something specific to the blender manual setup. As a matter of fact, [partial matches ]] and [[ http:*www.blender.org/api/blender_python_api_2_75_3/search.html?q=3D+view | number searches ](http:*www.blender.org/api/blender_python_api_2_75_3/search.html?q=dupli) appear to be working in the blender python API docs too.

Ah sorry for closing so quickly then, I thought this was some bug report for Sphinx.

Nevertheless, I looked into this and its seems standard behavior.

Python modules, classes, attributes do substring matches, regular text doesn't.

Eg: if you add this under a title

  .. module:: fooduplibar

This will show up when searching for "dupli".


So this is working the same for our docs and python.org's

See html options: http://sphinx-doc.org/config.html?highlight=html#options-for-html-output

... so keeping this closed since its not something we can tweak on our end easily... afaics.

Ah sorry for closing so quickly then, I thought this was some bug report for Sphinx. Nevertheless, I looked into this and its seems standard behavior. Python modules, classes, attributes do substring matches, regular text doesn't. Eg: if you add this under a title ``` .. module:: fooduplibar ``` This will show up when searching for "dupli". ---- So this is working the same for our docs and `python.org`'s See html options: http://sphinx-doc.org/config.html?highlight=html#options-for-html-output ... so keeping this closed since its not something we can tweak on our end easily... afaics.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#45972
No description provided.