pipenv: Built-in Sphinx documentation search index broken (also, search link hard to find)

First 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.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 25 (16 by maintainers)

Commits related to this issue

Most upvoted 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