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.
The search part seems problematic and is hidden by JS hack.
So it is intentional. Maybe @kennethreitz has some words for it.
This is fixed
Are you sure? I've tried a minute ago and it still looks broken to me.
Searching works fine. Are you complaining about our style sheet?
Have you actually tried the search and read the original question fully?
All of the search result links end up in non-existing (404) pages.
Resulting search result pages all have 404's here as well.
Ah ok, I didn’t click any of the resulting links. Considering we have it hidden to begin with I’m not that surprised. Not sure what would be required to fix
I've done some testing by setting up another project on readthedocs with the docs at the root domain and that appears to function fine: http://pipenv-searchable.readthedocs.io/search.html?q=test
So for some reason the search index for this project is broken. Perhaps someone can press the "wipe" button at readthedocs to fix it?
@WoLpH I’ll find out who has access and see if I can get it taken care of. Thanks for looking into it!
Would be really nice if the docs were usable. But they are not. It's more like an essay about how great the authors feel about themselves. If at least one could search in this very popular and ultimately awesome project's documentation, that might salvage the situation somewhat, but when the response to an issue is "it's fixed" because there are no proper tests, I can understand why the situation is as it is. BTW, 51 days since this issue was raised. How come in almost 2 months, this was ignored? Don't you think it's kind of important? Are there even bigger issues with the project that take away time? Or there are no one dedicated working on this project, it's abandoned?
document search is handled by readthedocs and sphinx. It basically uses a full text search with js script that is known to work poorly, but still do the job on very simple words. For more complex use case, alternatives such as https://www.algolia.com/ that does provide a community edition.
Are there even bigger issues with the project that take away time?
In short: yes
@ashnur kindly take your negativity and go elsewhere. If you have nothing productive to contribute we are not interested in your feedback. Please see the code of conduct and see yourself out.
The reason search is hidden is because RTD doesn’t support SSL for custom domains and the docs are hosted at python.org as well. You are welcome to go fix this for them, but until then there will continue to be no movement.
@techalchemy the python.org hosted (I'm assuming you mean through pypi) documentation is deprecated and cannot be updated anymore, if that's the issue I would suggest dropping it
I don’t. I mean readthedocs.
Perhaps I misunderstood, can you clarify this statement?
the docs are hosted at python.org as well
Oh yeah. Typo. Thanks— I mean readthedocs and _pipenv.org_ which my phone might have autocorrected or I might have subconsciously typed. Been at pycon all weekend
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).
Now that the documentation has moved to https://pipenv.pypa.io/ could people check whether the problem persists? If it still does, then I think Dan & Ernest (purposely not @-mentioning right now) would need to address it.
@brainwane It still seems partially broken. Just look at this result: https://pipenv.pypa.io/en/latest/search/?q=requirements
The "Pipenv features" link results in a 404
It currently links to: https://pipenv.pypa.io/en/latest/index#pipenv-features
Also, I think the "Algolia" search can be disabled now. While that search isn't bad, the built-in Sphinx search is often more useful when it comes to searching code in my experience
@WoLpH Thanks.
I've made PR #4166 to temporarily remove the link to that search till we can fix the index.
@techalchemy can you poke at the settings at http://readthedocs.org/projects/pipenv and see if you can wipe and rebuild the index, or, barring that, the entire site?
I've just looked through https://pipenv.pypa.io/en/latest/search/?q=requirements, and it seems to be working fine now.
Reverting https://github.com/pypa/pipenv/pull/3703, to use the basic Sphinx search would be a good fix.
Reverting #3703
I stand corrected -- even that works just fine for me now. :)