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

Tag pages or folders to be excluded from search index? #81

Open
jjpank opened this issue Dec 3, 2021 · 3 comments
Open

Tag pages or folders to be excluded from search index? #81

jjpank opened this issue Dec 3, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@jjpank
Copy link

jjpank commented Dec 3, 2021

Hello, I could not find any feature to tag certain pages or folders to be excluded from the search features. As we are building out our docusaurus pages, some teams have work in progress, and as we publish releases sometimes those are not yet linked into the navigation because they're not ready, but the index still picks them up. Is there any feature for this, or is this a reasonable feature that might be useful to include?

@cmfcmf cmfcmf added the enhancement New feature or request label Dec 3, 2021
@cmfcmf
Copy link
Owner

cmfcmf commented Dec 3, 2021

Sounds like a reasonable idea! There currently is no option to do that. Would a solution where you can specify a list of urls to not index work for you? E.g.:

const doNotIndex = [
  "/docs/page-1",
  "/docs/entire-folder"
]

@jjpank
Copy link
Author

jjpank commented Dec 4, 2021

Yes, that seems a straight forward and simple approach.

@cmfcmf
Copy link
Owner

cmfcmf commented Jan 10, 2022

PR: #87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants