Using docs routeBasePath="/", navbar version dropdown displays incorrect version on "/" #7974
Open
6 of 7 tasks
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
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
Hi,
When routeBasePath option is set to "/", going back to the home page either through the breadcrumb or the root url (company logo) resets the version to the 'current' one, whatever the version we were using.
Reproducible demo
https://doc4d.github.io/docs/19/API/ClassClass
Steps to reproduce
Expected behavior
The home page is displayed with "v19" in the version menu
Actual behavior
The home page is displayed with "v19 R6" (which is the current one) in the version menu
Your environment
Self-service
The text was updated successfully, but these errors were encountered: