Built-in Sphinx documentation search index broken (also, search link hard to find)
See original GitHub issueFirst of all it’s pretty hard to find the search at all in the docs (would be useful in the sidebar) but there is a link at the bottom of the docs homepage: https://docs.pipenv.org/
Which points to this page: https://docs.pipenv.org/search/
Actually searching for something like this: https://docs.pipenv.org/search/?q=test Results in links like these which only result in 404s: https://docs.pipenv.org/en/latest/advanced?highlight=test
The problem seems to be that the search index uses the standard readthedocs urls containing the versions (/en/latest/
) instead of using the root. I’m not entirely sure if this bug is restricted to this project’s configuration or if it’s an upstream bug.
Issue Analytics
- State:
- Created 5 years ago
- Comments:25 (15 by maintainers)
Top Results From Across the Web
Configuration - Sphinx documentation
Directories in which to search for additional message catalogs (see language ), relative to the source directory. The directories on this path are...
Read more >Sphinx 2.3.2-beta reference manual
searchd utility will serve all the specified indexes, and the clients can specify what indexes to search in run time. 3.6. Restrictions on...
Read more >Read the docs search broken - Stack Overflow
I already tried to install an older version of sphinx 1.7.9 but this did also not solve the problem. – New2Coding. Sep 24,...
Read more >Sphinx Documentation - Read the Docs
For example, to document Python's built-in function ... Sphinx then searches for all images matching the provided pattern and determines ...
Read more >Documentation about the built in search? - Google Groups
Charles Bouchard-Légaré · The Javascript code for doing the actual search against the index is at sphinx/themes/basic/static/searchtools. · The generation of the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I dug into this a little and unfortunately this behaviour is fixed on readthedocs, and all that is possible is to add redirect rules on the reverse proxy (i.e. on the docs.pipenv.org server). In other words, this can only be done by @kennethreitz, by adding redirect rules from
/en/latest/(.*)
to/$1
(using the NGINX syntax as an example).This is fixed