From 0f47b35f331ba1793eded7f6af74803272d54b74 Mon Sep 17 00:00:00 2001 From: gked Date: Tue, 7 Jan 2025 07:54:19 -0800 Subject: [PATCH] [docs]: fixed broken sections in the navbar --- docs/.vuepress/configs/navbar/en.ts | 87 ++++++++++++++++++++++------- docs/dev/apps/barteron-app.md | 2 - 2 files changed, 68 insertions(+), 21 deletions(-) diff --git a/docs/.vuepress/configs/navbar/en.ts b/docs/.vuepress/configs/navbar/en.ts index 08c2284..3260b65 100644 --- a/docs/.vuepress/configs/navbar/en.ts +++ b/docs/.vuepress/configs/navbar/en.ts @@ -7,19 +7,29 @@ export const navbarEn: NavbarOptions = [ children: [ { text: 'Get Started', - link: '/guide/getting-started.md', - }, - { - text: 'Easy Node', - link: '/guide/easy-node/', - }, - { - text: 'Full Node', - link: '/guide/full-node/', + children: [ + { + text: 'Getting Started', + link: '/guide/getting-started.md', + }, + { + text: 'Easy Node Setup Guide', + link: '/guide/easy-node/', + }, + { + text: 'Full Node Setup Guide', + link: '/guide/full-node/', + } + ] }, { text: 'Monetization', - link: '/guide/monetization/', + children: [ + { + text: 'Bastyon Monetization Guide', + link: '/guide/monetization/', + } + ] } ] }, @@ -27,30 +37,69 @@ export const navbarEn: NavbarOptions = [ text: 'Developer Docs', children: [ { - text: 'Introduction', - link: '/dev/introduction.md', + text: 'Platform Overview', + children: [ + { + text: 'Platform Overview', + link: '/dev/introduction.md', + }, + { + text: 'Contributing to Bastyon', + link: '/dev/CONTRIBUTING.md', + } + ] }, { - text: 'Contributing', - link: '/dev/CONTRIBUTING.md', + text: 'Blockchain Node', + children: [ + { + text: 'Getting Started', + link: '/dev/node/get-started.md', + }, + { + text: 'Source Code', + link: '/dev/node/source.md', + }, + { + text: 'Building', + link: '/dev/node/building.md', + }, + { + text: 'Usage', + link: '/dev/node/usage.md', + }, + { + text: 'RPC', + link: '/dev/node/rpc.md', + } + ] }, { text: 'Mini Apps', children: [ { text: 'Getting Started', - link: '/dev/apps/miniapps/get-started.md' + link: '/dev/apps/miniapps/get-started.md', }, { text: 'Permissions', - link: '/dev/apps/miniapps/permissions.md' + link: '/dev/apps/miniapps/permissions.md', + }, + { + text: 'SDK', + link: '/dev/apps/miniapps/sdk.md', }, + ] + }, + { + text: 'Barteron', + children: [ { - text: 'SDK Reference', - link: '/dev/apps/miniapps/sdk.md' + text: 'Barteron APIs', + link: '/dev/apps/barteron-app.md', } ] } ] - }, + } ] as NavbarOptions diff --git a/docs/dev/apps/barteron-app.md b/docs/dev/apps/barteron-app.md index f9d6c05..51341a4 100644 --- a/docs/dev/apps/barteron-app.md +++ b/docs/dev/apps/barteron-app.md @@ -1,5 +1,3 @@ -I'll translate it to English and convert it to Markdown format. Here's how you would save it as a `.md` file: - # Bastyon Barter App (Barteron) ## Pocketnet Transaction v2