From 1b0ea981f9415ae1daa987243bfc90c79c9a2ec0 Mon Sep 17 00:00:00 2001 From: steph Date: Sun, 11 Dec 2022 18:59:01 -0800 Subject: [PATCH] update navbar --- .../mermaid/src/docs/.vitepress/config.ts | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/packages/mermaid/src/docs/.vitepress/config.ts b/packages/mermaid/src/docs/.vitepress/config.ts index 7d3ec40dd..b7c033b11 100644 --- a/packages/mermaid/src/docs/.vitepress/config.ts +++ b/packages/mermaid/src/docs/.vitepress/config.ts @@ -32,19 +32,13 @@ export default defineConfig({ function nav() { return [ - { text: 'Intro', link: '/intro/', activeMatch: '/intro/' }, + { text: 'Docs', link: '/intro/', activeMatch: '/intro/' }, { - text: 'Configuration', + text: 'Tutorials', link: '/config/Tutorials', activeMatch: '/config/', }, - { text: 'Syntax', link: '/syntax/classDiagram', activeMatch: '/syntax/' }, - { text: 'Misc', link: '/misc/integrations', activeMatch: '/misc/' }, - { - text: 'Community', - link: '/community/n00b-overview', - activeMatch: '/community/', - }, + { text: 'Integrations', link: '/misc/integrations', activeMatch: '/misc/' }, { text: version, items: [ @@ -62,6 +56,14 @@ function nav() { text: '💻 Live Editor', link: 'https://mermaid.live', }, + { + text: 'Slack', + link: 'https://mermaid-talk.slack.com', + }, + { + text: 'GitHub', + link: 'https://github.com/mermaid-js/mermaid', + }, ]; }