mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
update navbar
This commit is contained in:
parent
653682a4b8
commit
1b0ea981f9
@ -32,19 +32,13 @@ export default defineConfig({
|
|||||||
|
|
||||||
function nav() {
|
function nav() {
|
||||||
return [
|
return [
|
||||||
{ text: 'Intro', link: '/intro/', activeMatch: '/intro/' },
|
{ text: 'Docs', link: '/intro/', activeMatch: '/intro/' },
|
||||||
{
|
{
|
||||||
text: 'Configuration',
|
text: 'Tutorials',
|
||||||
link: '/config/Tutorials',
|
link: '/config/Tutorials',
|
||||||
activeMatch: '/config/',
|
activeMatch: '/config/',
|
||||||
},
|
},
|
||||||
{ text: 'Syntax', link: '/syntax/classDiagram', activeMatch: '/syntax/' },
|
{ text: 'Integrations', link: '/misc/integrations', activeMatch: '/misc/' },
|
||||||
{ text: 'Misc', link: '/misc/integrations', activeMatch: '/misc/' },
|
|
||||||
{
|
|
||||||
text: 'Community',
|
|
||||||
link: '/community/n00b-overview',
|
|
||||||
activeMatch: '/community/',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: version,
|
text: version,
|
||||||
items: [
|
items: [
|
||||||
@ -62,6 +56,14 @@ function nav() {
|
|||||||
text: '💻 Live Editor',
|
text: '💻 Live Editor',
|
||||||
link: 'https://mermaid.live',
|
link: 'https://mermaid.live',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: 'Slack',
|
||||||
|
link: 'https://mermaid-talk.slack.com',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'GitHub',
|
||||||
|
link: 'https://github.com/mermaid-js/mermaid',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user