mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 00:40:22 +02:00
docs: small improvements
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { version } from '../../package.json';
|
||||
import { version } from '../../../package.json';
|
||||
import MermaidMarkdown from './mermaid-markdown-all';
|
||||
import { defineConfig } from 'vitepress';
|
||||
|
||||
@@ -8,9 +8,12 @@ export default defineConfig({
|
||||
description: 'Create diagrams and visualizations using text and code.',
|
||||
base: '/mermaid-docs/',
|
||||
markdown: MermaidMarkdown,
|
||||
ignoreDeadLinks: true, //TODO: try to fixe those in autogenerated docs
|
||||
themeConfig: {
|
||||
nav: nav(),
|
||||
editLink: {
|
||||
pattern: 'https://github.com/mermaid-js/mermaid/edit/develop/docs/:path',
|
||||
text: 'Edit this page on GitHub',
|
||||
},
|
||||
|
||||
sidebar: {
|
||||
'/': sidebarAll(),
|
||||
@@ -53,7 +56,7 @@ function nav() {
|
||||
},
|
||||
{
|
||||
text: '💻 Live Editor',
|
||||
link: '/edit',
|
||||
link: 'https://mermaid.live',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user