-
-
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
Search result path not correct #214
Comments
it is duplicating somehow |
Seeing same behaviour in previously working docs |
I have the same problem since a few weeks. I wonder how that could be related to an incompatibility between Node, Docusaurus and CMFCMFSearchLocal.
CMF and React are locked, but not Node, so there might be something happening here ? |
This #216 should resolve, can you test applying patch?
how apply patch?1 - copy patch above or use patch-package |
I just tried @fxamauri solution and it worked, thanks @fxamauri |
This reverts commit a241a68. until cmfcmf/docusaurus-search-local#214 is fixed
This reverts commit a241a68. until cmfcmf/docusaurus-search-local#214 is fixed
This reverts commit a241a68. until cmfcmf/docusaurus-search-local#214 is fixed
I tested this fix on an latest docusaurus version with javascript and latest search + the fix provided. |
This reverts commit a241a68. until cmfcmf/docusaurus-search-local#214 is fixed
This reverts commit a241a68. until cmfcmf/docusaurus-search-local#214 is fixed
Note: I reverted the Docusaurus v3.4 change to unbreak search plugins in v3.5. Although you should still apply a fix on your side. See reasons here:
But v3.5 has another issue, please wait until I publish v3.5.2 with a fix for #217 |
Docusaurus v3.5.2 has been released and should work fine with this plugin (I tried with v1.2) Note: you may get another error while building your site.
It is a different issue, related to a recent release of Cheerio v1.0 that did unexpected breaking changes. See my PR for details and workarounds: #218 |
Please describe the bug you are seeing
Hi,
I installed this plugin to an empty docusaurus project and run all the command without any customization or modifications. When i build and serve the project the search works and shows results fine, but the path where the result is pointing is not working correct.
I dont know if this is a undocumentened config or bug.
As you can see from the image the path is duplicating after the docs part.
"https://symmetrical-space-doodle-x5rrrgx9pq4hv74v-3000.app.github.dev/docs/tutorial-extras/translate-your-site/docs/tutorial-extras/translate-your-site#start-your-localized-site"
When it should be:
"https://symmetrical-space-doodle-x5rrrgx9pq4hv74v-3000.app.github.dev/docs/tutorial-extras/translate-your-site#start-your-localized-site"
Thanks!
How can we best reproduce the bug?
Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?
Latest that are available
Which Node.js version are you using?
22.3.0
Which theme are you using?
Yes, I am using @docusaurus/theme-classic
How does your plugin config look like?
Default config
Additional context
No response
The text was updated successfully, but these errors were encountered: