function generateVersionDropdown(sidebar) { const releases = sidebar.docs .filter((doc) => doc.link?.slug === "releases")[0] .items.filter((release) => typeof release === "string"); const latest = releases[0].replace(/releases\/\d+\/v/, ""); return `
`; } module.exports = { generateVersionDropdown, };