diff --git a/cSpell.json b/cSpell.json index aceb9bdee..ff9ef1074 100644 --- a/cSpell.json +++ b/cSpell.json @@ -114,6 +114,7 @@ "stopx", "stopy", "stylis", + "subhash-halder", "substate", "sveidqvist", "swimm", @@ -127,8 +128,8 @@ "tylerlong", "ugge", "unist", - "upvoting", "unocss", + "upvoting", "valign", "verdana", "viewports", diff --git a/docs/news/announcements.md b/docs/news/announcements.md index 0782aa328..a843ae419 100644 --- a/docs/news/announcements.md +++ b/docs/news/announcements.md @@ -6,8 +6,8 @@ # Announcements -## [Bad documentation is bad for developers](https://www.mermaidchart.com/blog/posts/bad-documentation-is-bad-for-developers) +## [subhash-halder contributed quadrant charts so you can show your manager what to select - just like the strategy consultants at BCG do](https://www.mermaidchart.com/blog/posts/subhash-halder-contributed-quadrant-charts-so-you-can-show-your-manager-what-to-select-just-like-the-strategy-consultants-at-bcg-do/) -26 April 2023 · 11 mins +8 June 2023 · 7 mins -Documentation tends to be bad because companies and projects don’t fully realize the costs of bad documentation. +A quadrant chart is a useful diagram that helps users visualize data and identify patterns in a data set. diff --git a/docs/news/blog.md b/docs/news/blog.md index 3f99a54f2..48b669d79 100644 --- a/docs/news/blog.md +++ b/docs/news/blog.md @@ -6,6 +6,12 @@ # Blog +## [subhash-halder contributed quadrant charts so you can show your manager what to select - just like the strategy consultants at BCG do](https://www.mermaidchart.com/blog/posts/subhash-halder-contributed-quadrant-charts-so-you-can-show-your-manager-what-to-select-just-like-the-strategy-consultants-at-bcg-do/) + +8 June 2023 · 7 mins + +A quadrant chart is a useful diagram that helps users visualize data and identify patterns in a data set. + ## [Bad documentation is bad for developers](https://www.mermaidchart.com/blog/posts/bad-documentation-is-bad-for-developers) 26 April 2023 · 11 mins diff --git a/packages/mermaid/src/docs/.vitepress/config.ts b/packages/mermaid/src/docs/.vitepress/config.ts index 17f7a268e..8fceb810b 100644 --- a/packages/mermaid/src/docs/.vitepress/config.ts +++ b/packages/mermaid/src/docs/.vitepress/config.ts @@ -16,11 +16,22 @@ export default defineConfig({ description: 'Create diagrams and visualizations using text and code.', base: '/', markdown: allMarkdownTransformers, - head: [['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]], ignoreDeadLinks: [ // ignore all localhost links /^https?:\/\/localhost/, ], + head: [ + ['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }], + [ + 'script', + { + defer: 'true', + 'data-domain': 'mermaid.js.org', + // All tracked stats are public and available at https://p.mermaid.live/mermaid.js.org + src: 'https://p.mermaid.live/js/script.js', + }, + ], + ], themeConfig: { nav: nav(), editLink: { diff --git a/packages/mermaid/src/docs/.vitepress/theme/index.ts b/packages/mermaid/src/docs/.vitepress/theme/index.ts index 7a2b033ea..ba1ac9bdb 100644 --- a/packages/mermaid/src/docs/.vitepress/theme/index.ts +++ b/packages/mermaid/src/docs/.vitepress/theme/index.ts @@ -9,6 +9,7 @@ import HomePage from '../components/HomePage.vue'; import { getRedirect } from './redirect.js'; import { h } from 'vue'; + import Theme from 'vitepress/theme'; import '../style/main.css'; import 'uno.css'; diff --git a/packages/mermaid/src/docs/news/announcements.md b/packages/mermaid/src/docs/news/announcements.md index 689b5b6df..b752d3d57 100644 --- a/packages/mermaid/src/docs/news/announcements.md +++ b/packages/mermaid/src/docs/news/announcements.md @@ -1,7 +1,7 @@ # Announcements -## [Bad documentation is bad for developers](https://www.mermaidchart.com/blog/posts/bad-documentation-is-bad-for-developers) +## [subhash-halder contributed quadrant charts so you can show your manager what to select - just like the strategy consultants at BCG do](https://www.mermaidchart.com/blog/posts/subhash-halder-contributed-quadrant-charts-so-you-can-show-your-manager-what-to-select-just-like-the-strategy-consultants-at-bcg-do/) -26 April 2023 · 11 mins +8 June 2023 · 7 mins -Documentation tends to be bad because companies and projects don’t fully realize the costs of bad documentation. +A quadrant chart is a useful diagram that helps users visualize data and identify patterns in a data set. diff --git a/packages/mermaid/src/docs/news/blog.md b/packages/mermaid/src/docs/news/blog.md index f7ca1058e..e62a327b4 100644 --- a/packages/mermaid/src/docs/news/blog.md +++ b/packages/mermaid/src/docs/news/blog.md @@ -1,5 +1,11 @@ # Blog +## [subhash-halder contributed quadrant charts so you can show your manager what to select - just like the strategy consultants at BCG do](https://www.mermaidchart.com/blog/posts/subhash-halder-contributed-quadrant-charts-so-you-can-show-your-manager-what-to-select-just-like-the-strategy-consultants-at-bcg-do/) + +8 June 2023 · 7 mins + +A quadrant chart is a useful diagram that helps users visualize data and identify patterns in a data set. + ## [Bad documentation is bad for developers](https://www.mermaidchart.com/blog/posts/bad-documentation-is-bad-for-developers) 26 April 2023 · 11 mins