-
-
Notifications
You must be signed in to change notification settings - Fork 243
click search result, go to docs/3.0.0 #475
Comments
Yes, I noticed that too. It has something to do with this line: 6d951fd#diff-7693eb643e8fe8b8d46b407909b408ceR31 but I haven't had a chance to dig into DocSearch documentation yet to figure out how to correct it. |
This is actively causing 404 Not Found errors for users, making it rather difficult to find things. Example: search for "for-direction" on https://eslint.org/.
This claims to be the 3.0.0 rules page, but links to |
I'm looking into this. I think I understand the issue, though I need to confirm a few things before I try to make any changes.
Edit: On second thought, if we just don't index documentation from old versions of ESLint, then we wouldn't need to change the major release process. I'm not convinced we need to index old ESLint documentation at this point. |
I think I have the beginning of a fix lined up:
In the Docsearch PR, I can't start from /docs because that page does not exist in the repo. So I'm starting from /docs/rules, /docs/user-guide, /docs/developer-guide, and /docs/maintainer-guide (all of which should exist). There might be other improvements we could make, but that PR (or something similar) should help fix most of the issues. |
Update ESLint config (refs eslint/archive-website#475)
We've merged the docsearch-configs change and the eslint.github.io change. Unfortunately I didn't think about the fact that the scraper probably hasn't run yet so we have the eslint.github.io changes running against the old index. It will resolve itself after the next scraper run (within 24 hours). I'll check tomorrow to see how the search experience looks, then either close this issue or open new PRs against this issue as needed. Apologies for any inconvenience as we're rebuilding our search config. |
I just checked and things are actually looking consistent-- maybe the index was built after the docsearch-configs changes were merged. @aladdin-add @Krinkle How does it look on your end? |
@platinumazure Yep, the search seems to be working well again. Thanks! I do note that https://eslint.org/docs/3.0.0/rules/ still lists |
Thanks for confirming @Krinkle. I'm going to leave this open for a few days in case I want to make any more PRs to tweak the search configuration. |
I wrote algolia/docsearch-configs#457 to avoid indexing of blog headers, since those are identical in every post. Closing as the main issue is resolved. |
it is expected to open the latest version.
The text was updated successfully, but these errors were encountered: