From 5a264318488187070ed4ae84f8930583517fcf69 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Tue, 2 Apr 2024 13:17:31 +0800 Subject: [PATCH] fix tab --- docusaurus.config.ts | 2 +- sidebars.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 1f427ec7a..a51d9e6cb 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -80,7 +80,7 @@ const config: Config = { }, { type: 'docSidebar', - sidebarId: 'specSidebar', + sidebarId: 'specificationSidebar', position: 'right', label: 'Specification', }, diff --git a/sidebars.ts b/sidebars.ts index b4b97e328..d539b1407 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -15,6 +15,7 @@ const sidebars: SidebarsConfig = { // tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], startSidebar: [{type: 'autogenerated', dirName: 'start'}], introductionSidebar: [{type: 'autogenerated', dirName: 'introduction'}], + specificationSidebar: [{type: 'autogenerated', dirName: 'specification'}], guideSidebar: [{type: 'autogenerated', dirName: 'guide'}], // But you can create a sidebar manually