header 1 per doc sidebar

This commit is contained in:
Stefan Pejcic 2024-02-05 15:03:25 +01:00
parent 424a3c6071
commit 24e4e01a45

View file

@ -2,22 +2,19 @@
const mainSidebar = { const mainSidebar = {
panel: [ panel: [
'panel/intro', // OpenPanel
{
type: 'category',
label: 'Dashboard',
className: "category-as-header",
items: [
{ {
type: 'doc', type: "category",
id: 'panel/dashboard/dashboard', label: "OpenPanel",
className: "category-as-header",
items: [
],
}, },
], 'panel/intro',
}, 'panel/dashboard/dashboard',
{ {
type: 'category', type: 'category',
label: 'Applications', label: 'Applications',
className: "category-as-header",
items: [ items: [
{ {
type: 'doc', type: 'doc',
@ -36,7 +33,6 @@ const mainSidebar = {
{ {
type: 'category', type: 'category',
label: 'Domain Management', label: 'Domain Management',
className: "category-as-header",
items: [ items: [
{ {
type: 'doc', type: 'doc',
@ -55,7 +51,6 @@ const mainSidebar = {
{ {
type: 'category', type: 'category',
label: 'Databases', label: 'Databases',
className: "category-as-header",
items: [ items: [
{ {
type: 'doc', type: 'doc',
@ -82,7 +77,6 @@ const mainSidebar = {
{ {
type: 'category', type: 'category',
label: 'Files', label: 'Files',
className: "category-as-header",
items: [ items: [
{ {
type: 'doc', type: 'doc',
@ -117,7 +111,6 @@ const mainSidebar = {
{ {
type: 'category', type: 'category',
label: 'Cache & Search', label: 'Cache & Search',
className: "category-as-header",
items: [ items: [
{ {
type: 'doc', type: 'doc',
@ -140,7 +133,6 @@ const mainSidebar = {
{ {
type: 'category', type: 'category',
label: 'Analytics', label: 'Analytics',
className: "category-as-header",
items: [ items: [
{ {
type: 'doc', type: 'doc',
@ -159,7 +151,6 @@ const mainSidebar = {
{ {
type: 'category', type: 'category',
label: 'Advanced', label: 'Advanced',
className: "category-as-header",
items: [ items: [
{ {
type: 'doc', type: 'doc',
@ -190,7 +181,6 @@ const mainSidebar = {
{ {
type: 'category', type: 'category',
label: 'Account', label: 'Account',
className: "category-as-header",
items: [ items: [
{ {
type: 'doc', type: 'doc',
@ -221,6 +211,14 @@ const mainSidebar = {
admin: [ admin: [
// OpenAdmin
{
type: "category",
label: "OpenAdmin",
className: "category-as-header",
items: [
],
},
{ type: 'autogenerated', dirName: 'admin' }, { type: 'autogenerated', dirName: 'admin' },
// Promo // Promo
{ {
@ -232,6 +230,14 @@ const mainSidebar = {
], ],
changelog: [ changelog: [
// OpenCLI
{
type: "category",
label: "Changelog",
className: "category-as-header",
items: [
],
},
{ type: 'autogenerated', dirName: 'changelog' }, { type: 'autogenerated', dirName: 'changelog' },
// Promo // Promo
{ {