Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Disable doc search for archived versions < 1.1 #4524

Closed
1 task
innobead opened this issue Sep 6, 2022 · 1 comment
Closed
1 task

[TASK] Disable doc search for archived versions < 1.1 #4524

innobead opened this issue Sep 6, 2022 · 1 comment
Assignees
Labels
kind/doc Doc request kind/task General task request to fulfill another primary request
Milestone

Comments

@innobead
Copy link
Member

innobead commented Sep 6, 2022

What's the task? Please describe

Currently, users are still able to search docs from archived versions, so it will cause some confusion about the search result. Go disable versions before 1.1, and it's better to see if there is an automatic way to do that via docsearch configs in the website repo.

Describe the items of the task (DoD, definition of done) you'd like

Please use a task list for items on a separate line with a clickable checkbox https://docs.github.com/en/issues/tracking-your-work-with-issues/about-task-lists

  • Disable archived doc search

Additional context

Add any other context or screenshots about the task request here.

@innobead innobead added kind/doc Doc request kind/task General task request to fulfill another primary request labels Sep 6, 2022
@innobead innobead added this to the v1.4.0 milestone Sep 6, 2022
@mantissahz
Copy link
Contributor

Add a rule exclusionPatterns: ["https://longhorn.io/docs/archives/**"] to Algolia crawler to bypass the indexing of URLs with prefix https://longhorn.io/docs/archives.
And it should work now.

@innobead innobead closed this as completed Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/doc Doc request kind/task General task request to fulfill another primary request
Projects
None yet
Development

No branches or pull requests

2 participants