From 8e6e06b69654c71af36717ebae801c90ccbb7d33 Mon Sep 17 00:00:00 2001 From: zhifenglee-aelf <134911446+zhifenglee-aelf@users.noreply.github.com> Date: Sat, 6 Jul 2024 12:00:22 +0800 Subject: [PATCH] fix: sidebar for vote (#111) Co-authored-by: zhifenglee-portkey <134916307+zhifenglee-portkey@users.noreply.github.com> --- sidebars.ts | 65 ++++++++++++++++++++++------------------------------- 1 file changed, 27 insertions(+), 38 deletions(-) diff --git a/sidebars.ts b/sidebars.ts index a64227c3..bc26c38f 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -71,6 +71,33 @@ const sidebars: SidebarsConfig = { }, ], }, + { + type: "category", + label: "Vote Contract", + description: "Tutorials on developing vote contract", + link: { + type: "generated-index", + slug: "/quick-start/vote-contract", + }, + items: [ + { + type: "doc", + id: "quick-start/vote-contract/setup-environment", + }, + { + type: "doc", + id: "quick-start/vote-contract/develop-smart-contract", + }, + { + type: "doc", + id: "quick-start/vote-contract/deploy-smart-contract", + }, + { + type: "doc", + id: "quick-start/vote-contract/create-dapp", + }, + ], + }, ], }, ], @@ -198,44 +225,6 @@ const sidebars: SidebarsConfig = { }, ], }, - { - type: "category", - label: "Dapp Development", - description: "Tutorials on developing Dapps.", - link: { - type: "generated-index", - slug: "/tutorials/dapp-development", - }, - items: [ - { - type: "category", - label: "Vote Contract", - description: "Tutorials on developing vote contract", - link: { - type: "generated-index", - slug: "/tutorials/dapp-development/vote-contract", - }, - items: [ - { - type: "doc", - id: "tutorials/dapp-development/vote-contract/setup-environment", - }, - { - type: "doc", - id: "tutorials/dapp-development/vote-contract/develop-smart-contract", - }, - { - type: "doc", - id: "tutorials/dapp-development/vote-contract/deploy-smart-contract", - }, - { - type: "doc", - id: "tutorials/dapp-development/vote-contract/create-dapp", - }, - ], - }, - ], - }, ], }, ],