docs-community icon indicating copy to clipboard operation
docs-community copied to clipboard

Improve documentation search from python.org

Open willingc opened this issue 8 months ago • 3 comments

Use case

A new user makes a good point that searching python.org is unhelpful: https://www.python.org/search/?q=json.dumps . The search returns "No results found." The current Django python.org search only searches the site's content itself.

Goal

Improve the user experience.

Considerations

The python.org site is a PSF asset and changes to the site would need to be supported by PSF and their infra team.

Possible solutions from least effort to most effort

  • Do nothing. Keep the status quo.
  • Make the PSF aware of this behavior and ask what they would like to do
  • Work with PSF to implement an addition to the search results page on python.org: "If you don't find what you need here, try searching at https://docs.python.org/"
  • Add an explicit documentation search button that redirects to docs.python.org's search.
  • Develop integrated search on python.org site. This would be a PSF effort.

Summary

For now this is a bit out of scope for the docs-community to tackle alone. Any change would be a joint PSF and CPython docs effort with the PSF taking the lead. cc/ @python/editorial-board

willingc avatar Apr 21 '25 18:04 willingc

These are potential document search engines that I'm aware of.

methane avatar Apr 21 '25 23:04 methane

Thanks @methane. mellisearch looks compelling for open source projects. I haven't used this in production but it looks good and after playing around it's nicely performant.

willingc avatar Apr 22 '25 04:04 willingc

I made a pull request for adding a link to the python.org search page: https://github.com/python/pythondotorg/pull/2718 It suggests redoing the search at docs.python.org, with a link pre-populated with the search query.

nedbat avatar Apr 24 '25 13:04 nedbat