From c2dadd016049bca10b657ac8bf8f8f0391f1c862 Mon Sep 17 00:00:00 2001 From: Mell Date: Tue, 2 Apr 2024 16:19:44 +0300 Subject: [PATCH] Update sidebar for tutorials --- docs/tutorials/GetSUB/Intro.md | 1 + .../getting-started/account-setup/Talisman.md | 1 - docusaurus.config.js | 1 + sidebars.js | 23 +------------------ 4 files changed, 3 insertions(+), 23 deletions(-) diff --git a/docs/tutorials/GetSUB/Intro.md b/docs/tutorials/GetSUB/Intro.md index b5e94097..7eca2f93 100644 --- a/docs/tutorials/GetSUB/Intro.md +++ b/docs/tutorials/GetSUB/Intro.md @@ -1,6 +1,7 @@ --- id: get-sub title: How Do I Get SUB? +slug: /tutorials/ --- Thanks to our partners at MEXC, HydraDX, and StellaSwap, SUB tokens are easily available to the public! diff --git a/docs/tutorials/getting-started/account-setup/Talisman.md b/docs/tutorials/getting-started/account-setup/Talisman.md index b7252350..b5a118a5 100644 --- a/docs/tutorials/getting-started/account-setup/Talisman.md +++ b/docs/tutorials/getting-started/account-setup/Talisman.md @@ -1,7 +1,6 @@ --- id: talisman title: Talisman -slug: /tutorials/ --- [Talisman](https://talisman.xyz/) is our recommended web browser wallet extension. It manages users’ private keys, and lets them sign transactions with their accounts. diff --git a/docusaurus.config.js b/docusaurus.config.js index a7def2d2..c154a993 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -56,6 +56,7 @@ module.exports = { }, { to: 'docs/tutorials', + activeBasePath: 'docs/tutorials', label: '📖 User Tutorials', position: 'left', }, diff --git a/sidebars.js b/sidebars.js index d5501512..3a5c8231 100644 --- a/sidebars.js +++ b/sidebars.js @@ -62,28 +62,7 @@ module.exports = { 'basics/faq/overview', 'basics/glossary/overview' ], - tutorialsSidebar: [{ - 'Getting Started': [ - { - 'Creating An Account': [ - "tutorials/getting-started/account-setup/talisman", - "tutorials/getting-started/account-setup/substrate", - ], - 'PolkaVerse': [ - "tutorials/getting-started/polkaverse/intro", - "tutorials/getting-started/polkaverse/onboarding", - "tutorials/getting-started/polkaverse/editing-your-profile", - "tutorials/getting-started/polkaverse/creating-a-space", - "tutorials/getting-started/polkaverse/making-a-post", - "tutorials/getting-started/polkaverse/finding-content", - "tutorials/getting-started/polkaverse/making-a-comment", - "tutorials/getting-started/polkaverse/reacting-to-a-post", - "tutorials/getting-started/polkaverse/sharing-a-post", - "tutorials/getting-started/polkaverse/energy", - ], - }, - ], - }, + tutorialsSidebar: [ { 'How Do I Get SUB?': [ "tutorials/GetSUB/get-sub",