You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
razzeee opened this issue
Jul 17, 2024
· 1 comment
· Fixed by #10311
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionexternalThis issue is caused by an external dependency and not Docusaurus.
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
Environment name and version (e.g. Chrome 89, Node.js 16.4): Seems unrelated, can repro in multiple envs
Operating system and version (e.g. Ubuntu 20.04.2 LTS): Seems unrelated, can repro in multiple envs
Self-service
I'd be willing to fix this bug myself.
The text was updated successfully, but these errors were encountered:
razzeee
added
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
labels
Jul 17, 2024
razzeee
changed the title
Hash navigation breaks in 3..4.0 with some plugins
Hash navigation breaks in 3.4.0 with some plugins
Jul 17, 2024
bugAn error in the Docusaurus core causing instability or issues with its executionexternalThis issue is caused by an external dependency and not Docusaurus.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and 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-errors
instead ofhttps://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
yarn
yarn build
yarn serve
linter error
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
The text was updated successfully, but these errors were encountered: