Have you read the Contributing Guidelines on issues?
Prerequisites
Description
We're using https://github.com/gabrielcsapo/docusaurus-plugin-search-local and updating to 3.4.0 changes the links the search produces.
They end up in a duplicated format like https://docs.flathub.org/docs/for-app-authors/linter/docs/for-app-authors/linter#linter-errors instead of https://docs.flathub.org/docs/for-app-authors/linter#linter-errors
See
gabrielcsapo/docusaurus-plugin-search-local#82
I couldn't spot a hint at a behaviour change in the changelog, but I might have overlooked it or this is a regression.
The new hashnav changes are opt in so far it seems?
Reproducible demo
flathub-infra/documentation#339
Steps to reproduce
- run
yarn
yarn build
yarn serve
- Go to the page
- Search for
linter error
- Click the first result
Expected behavior
It should route you to the correct path and scroll down to the hash navigation
Actual behavior
You get a 404
Your environment
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
We're using https://github.com/gabrielcsapo/docusaurus-plugin-search-local and updating to 3.4.0 changes the links the search produces.
They end up in a duplicated format like
https://docs.flathub.org/docs/for-app-authors/linter/docs/for-app-authors/linter#linter-errorsinstead ofhttps://docs.flathub.org/docs/for-app-authors/linter#linter-errorsSee
gabrielcsapo/docusaurus-plugin-search-local#82
I couldn't spot a hint at a behaviour change in the changelog, but I might have overlooked it or this is a regression.
The new hashnav changes are opt in so far it seems?
Reproducible demo
flathub-infra/documentation#339
Steps to reproduce
yarnyarn buildyarn servelinter errorExpected behavior
It should route you to the correct path and scroll down to the hash navigation
Actual behavior
You get a 404
Your environment
Self-service