diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 2e3112a6..fa35b0b4 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -147,22 +147,14 @@ const config: Config = { href: 'https://www.harpersystems.dev', }, items: [ - { - type: 'docSidebar', - sidebarId: 'docsSidebar', - position: 'left', - label: 'Documentation', - }, - { - type: 'docsVersionDropdown', - position: 'right', - dropdownActiveClassDisabled: true, - }, - { - href: 'https://github.com/HarperDB/documentation', - label: 'GitHub', - position: 'right', - }, + { type: 'docSidebar', sidebarId: 'gettingStartedSidebar', label: 'Getting Started', position: 'left', to: `${routeBasePath}getting-started/index` }, + { type: 'docSidebar', sidebarId: 'developersSidebar', label: 'Developers', position: 'left', to: `${routeBasePath}developers/applications/index` }, + { type: 'docSidebar', sidebarId: 'administrationSidebar', label: 'Administration', position: 'left', to: `${routeBasePath}administration/administration` }, + { type: 'docSidebar', sidebarId: 'deploymentsSidebar', label: 'Deployments', position: 'left', to: `${routeBasePath}deployments/install-harper/index` }, + { type: 'docSidebar', sidebarId: 'technicalDetailsSidebar', label: 'Technical Details', position: 'left', to: `${routeBasePath}technical-details/reference/index` }, + + { type: 'docsVersionDropdown', position: 'right', dropdownActiveClassDisabled: true }, + { href: 'https://github.com/HarperDB/documentation', label: 'GitHub', position: 'right' } ], }, footer: { @@ -176,8 +168,8 @@ const config: Config = { to: `${routeBasePath}/getting-started`, }, // { - // label: 'Developers', - // to: `${routeBasePath}/developers`, + // label: 'Developers', + // to: `${routeBasePath}/developers`, // }, { label: 'Administration', diff --git a/sidebars.ts b/sidebars.ts index 037801f6..d3c75ada 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -1,44 +1,11 @@ import type { SidebarsConfig } from '@docusaurus/plugin-content-docs'; const sidebars: SidebarsConfig = { - docsSidebar: [ - { - type: 'doc', - id: 'index', - label: 'Harper Docs', - }, - { - type: 'category', - label: 'Getting Started', - items: [{ type: 'autogenerated', dirName: 'getting-started' }], - }, - { - type: 'category', - label: 'Developers', - link: { - type: 'generated-index', - title: 'Developer Documentation', - description: 'Comprehensive guides and references for building applications with HarperDB', - keywords: ['developers', 'api', 'applications'], - }, - items: [{ type: 'autogenerated', dirName: 'developers' }], - }, - { - type: 'category', - label: 'Administration', - items: [{ type: 'autogenerated', dirName: 'administration' }], - }, - { - type: 'category', - label: 'Deployments', - items: [{ type: 'autogenerated', dirName: 'deployments' }], - }, - { - type: 'category', - label: 'Technical Details', - items: [{ type: 'autogenerated', dirName: 'technical-details' }], - }, - ], + gettingStartedSidebar: [{ type: 'autogenerated', dirName: 'getting-started' }], + developersSidebar: [{ type: 'autogenerated', dirName: 'developers' }], + administrationSidebar: [{ type: 'autogenerated', dirName: 'administration' }], + deploymentsSidebar: [{ type: 'autogenerated', dirName: 'deployments' }], + technicalDetailsSidebar:[{ type: 'autogenerated', dirName: 'technical-details' }], }; export default sidebars; diff --git a/versioned_sidebars/version-4.6-sidebars.json b/versioned_sidebars/version-4.6-sidebars.json index 2811a133..e071361e 100644 --- a/versioned_sidebars/version-4.6-sidebars.json +++ b/versioned_sidebars/version-4.6-sidebars.json @@ -1,59 +1,32 @@ { - "docsSidebar": [ - { - "type": "doc", - "id": "index", - "label": "Harper Docs" - }, - { - "type": "category", - "label": "Getting Started", - "items": [ - { - "type": "autogenerated", - "dirName": "getting-started" - } - ] - }, - { - "type": "category", - "label": "Developers", - "items": [ - { - "type": "autogenerated", - "dirName": "developers" - } - ] - }, - { - "type": "category", - "label": "Administration", - "items": [ - { - "type": "autogenerated", - "dirName": "administration" - } - ] - }, - { - "type": "category", - "label": "Deployments", - "items": [ - { - "type": "autogenerated", - "dirName": "deployments" - } - ] - }, - { - "type": "category", - "label": "Technical Details", - "items": [ - { - "type": "autogenerated", - "dirName": "technical-details" - } - ] - } - ] + "gettingStartedSidebar": [ + { + "type": "autogenerated", + "dirName": "getting-started" + } + ], + "developersSidebar": [ + { + "type": "autogenerated", + "dirName": "developers" + } + ], + "administrationSidebar": [ + { + "type": "autogenerated", + "dirName": "administration" + } + ], + "deploymentsSidebar": [ + { + "type": "autogenerated", + "dirName": "deployments" + } + ], + "technicalDetailsSidebar": [ + { + "type": "autogenerated", + "dirName": "technical-details" + } + ] }