Update sidebars.js

This commit is contained in:
prafull-opensignlabs
2025-08-28 17:41:16 +05:30
committed by GitHub
parent fcb983f68a
commit 4b6712a0ff
+9 -8
View File
@@ -23,14 +23,7 @@ const sidebars = {
// apiSidebar: apiSidebar,
// Single API sidebar containing two top-level categories
apiSidebar: [
{
type: 'category',
label: 'v1',
// Optional: clicking the category label goes to a “generated index”
link: { type: 'generated-index', title: 'OpenSign API v1', slug: '/API-docs/v1' },
collapsed: false,
items: apiV1Sidebar,
},
'API-docs/intro',
{
type: 'category',
label: 'v1.1',
@@ -38,6 +31,14 @@ const sidebars = {
collapsed: false,
items: apiV11Sidebar,
},
{
type: 'category',
label: 'v1',
// Optional: clicking the category label goes to a “generated index”
link: { type: 'generated-index', title: 'OpenSign API v1', slug: '/API-docs/v1' },
collapsed: false,
items: apiV1Sidebar,
}
],
// But you can create a sidebar manually