microsite: make references header item a dropdown for stable/next

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-01-27 16:39:54 +01:00
parent 0087c907c9
commit 095f44a184
+11 -1
View File
@@ -377,9 +377,19 @@ const config: Config = {
position: 'left',
},
{
to: '/api/stable',
type: 'dropdown',
label: 'Reference',
position: 'left',
items: [
{
label: `Stable (${releases[0]})`,
to: '/api/stable',
},
{
label: 'Next',
to: '/api/next',
},
],
},
{
to: `docs/releases/${releases[0]}`,