header 1 per doc sidebar
This commit is contained in:
parent
424a3c6071
commit
24e4e01a45
1 changed files with 24 additions and 18 deletions
|
@ -2,22 +2,19 @@
|
||||||
|
|
||||||
const mainSidebar = {
|
const mainSidebar = {
|
||||||
panel: [
|
panel: [
|
||||||
'panel/intro',
|
// OpenPanel
|
||||||
{
|
{
|
||||||
type: 'category',
|
type: "category",
|
||||||
label: 'Dashboard',
|
label: "OpenPanel",
|
||||||
className: "category-as-header",
|
className: "category-as-header",
|
||||||
items: [
|
items: [
|
||||||
{
|
|
||||||
type: 'doc',
|
|
||||||
id: 'panel/dashboard/dashboard',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
'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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue