Can a autogenerated sidebar be used in versioned documentations? #7924
-
|
Hi. The docs on In my case this would be: ├── versioned_sidebars
│ ├── version-v2-sidebars.json
│ └── version-v1-sidebars.jsonIs there a way to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Figured out that the json allows multiple different formats, in addition to the simple one i saw in all examples there is another one with a more complex format that allows to set the type to autogenerated: {
"version-v1-docs": [
{
"type": "autogenerated",
"dirName": "."
}
]
}
|
Beta Was this translation helpful? Give feedback.
Figured out that the json allows multiple different formats, in addition to the simple one i saw in all examples there is another one with a more complex format that allows to set the type to autogenerated:
{ "version-v1-docs": [ { "type": "autogenerated", "dirName": "." } ] }