Closed Techassi closed 3 years ago
Thank you for this PR :+1:
I've now looked into this bug myself and might have found a different solution that involves setting the existing docsRouteBasePath
plugin option to /
.
After fixing a bug that occurred when setting the option to just /
in https://github.com/cmfcmf/docusaurus-search-local/commit/e76534bfa394a85211baceea949ed9cf0600e101, docs-only mode should work just fine when passing { docsRouteBasePath: '/' }
as options. Could you verify whether setting { docsRouteBasePath: '/' }
in conjunction with e76534bfa394a85211baceea949ed9cf0600e101 fixes the problem for you? If so, I'd then go ahead and release v0.4.1.
I have released version 0.5.0 that includes the fix.
Also notifying @franciscojaramillo - see my comment above, the problem should be fixed in version 0.5.0 when correctly setting the docsRouteBasePath
.
Will check it out!
Works without any problems. Closing. Thank you @cmfcmf
Awesome, ty!
Fixes #21