Currently if using a multi project setup with additionally multiple versions then search will be unavailable for all versions except latest version.
Steps to reproduce
- Clone this repo
- Use the
website-multi-docs setup
- Run
yarn docusaurus docs:version:community 1.0.0 to create a new version
- Append
versions: {
current: {
label: "current",
},
"1.0.0": {
label: "1.0.0",
},
},
to the community plugin-content-docs plugin section to add the version to the plugin
5. Add a version selection method e.g. via a navbar item
{
type: "docsVersionDropdown",
docsPluginId: `community`,
}
- Swap between the versions and see the search bar be gone for
current.
hideSearchBarWithNoSearchContext: false would make it appear but search wont work cause it will not have any context
Currently if using a multi project setup with additionally multiple versions then search will be unavailable for all versions except latest version.
Steps to reproduce
website-multi-docssetupyarn docusaurus docs:version:community 1.0.0to create a new versionto the community plugin-content-docs plugin section to add the version to the plugin
5. Add a version selection method e.g. via a navbar item
current.hideSearchBarWithNoSearchContext: falsewould make it appear but search wont work cause it will not have any context