Getting versioned sidebars to work #12
-
Hey, I'm having a bit of trouble getting versioned sidebars to work. However, the sidebar seems to be the one from the latest version. I'm guessing that something with the sidebar not being an array, or an object, or the versioned sidebar being wrong, is the culprit here, but I can't figure it out… The project progress can be found here: Grateful for any pointers :) Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
After some debugging, it seems, the generateVersionSidebars function expects locales to be defined. |
Beta Was this translation helpful? Give feedback.
-
This sounds like a bug to me… @IMB11 should I open an issue? Or is this discussion enough? |
Beta Was this translation helpful? Give feedback.
After some debugging, it seems, the generateVersionSidebars function expects locales to be defined.
Otherwise it won't do anything.
Didn't work to add a locales object in
.vitepress/config.js
and moving thethemeConfig
,title
anddescription
there.