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