-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Docs-only mode not working #21
Labels
bug
Something isn't working
Comments
Could you please open a PR, I'm having the same issue... |
Sorry for not responding sooner - if you could open a PR that fixes it, I'll gladly take a look and merge it. |
Sure... I wil open a PR in a few days. Looking forward to your feedback! |
@Techassi Let me know if I can help in any way--very interested in getting this going |
Fixed for me with version |
fashxp
added a commit
to fashxp/docusaurus-search-local
that referenced
this issue
Mar 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
If you use docs-only mode the indexer doesn't index directories but only the entry page.
Reproduction
Use docs-only mode described here
Environment
Package Versions
Node Version
v15.0.1
Docusaurus Environment
Are you using a custom theme? No
docusaurus.config.js
Additional context
I introduced a new configuration option called
docsOnlyMode
(see above). It basically skips the URL prefix check in theflatMap
function call:I don't know if thats the most elegant solution but for my case it works. I can also open a PR to further discuss this issue.
The text was updated successfully, but these errors were encountered: