diff --git a/docs/config/usage.md b/docs/config/usage.md index 29273e9b5..476806d8f 100644 --- a/docs/config/usage.md +++ b/docs/config/usage.md @@ -62,7 +62,7 @@ Example: ```html ``` @@ -85,7 +85,7 @@ Example: B-->D(fa:fa-spinner); diff --git a/docs/intro/index.md b/docs/intro/index.md index b8a27acff..5aa068e27 100644 --- a/docs/intro/index.md +++ b/docs/intro/index.md @@ -267,7 +267,7 @@ To Deploy Mermaid: ```html ``` diff --git a/docs/intro/n00b-gettingStarted.md b/docs/intro/n00b-gettingStarted.md index 2f422758e..2a05a1fdd 100644 --- a/docs/intro/n00b-gettingStarted.md +++ b/docs/intro/n00b-gettingStarted.md @@ -128,7 +128,7 @@ b. The importing of mermaid library through the `mermaid.esm.js` or `mermaid.esm ```html @@ -145,7 +145,7 @@ Rendering in Mermaid is initialized by `mermaid.initialize()` call. You can plac ### Adding external diagrams to mermaid -Please refer to the [Mindmap](./mindmap.md?id=integrating-with-your-librarywebsite) section for more information. +Please refer to the [Mindmap](../syntax/mindmap.md?id=integrating-with-your-librarywebsite) section for more information. ### Working Examples @@ -172,7 +172,7 @@ Please refer to the [Mindmap](./mindmap.md?id=integrating-with-your-librarywebsi diff --git a/docs/syntax/mindmap.md b/docs/syntax/mindmap.md index e789646bc..0214a5512 100644 --- a/docs/syntax/mindmap.md +++ b/docs/syntax/mindmap.md @@ -260,8 +260,8 @@ Mindmap uses the experimental lazy loading & async rendering features which coul ```html ``` diff --git a/packages/mermaid/src/docs.mts b/packages/mermaid/src/docs.mts index 846e92212..313d1f2de 100644 --- a/packages/mermaid/src/docs.mts +++ b/packages/mermaid/src/docs.mts @@ -46,7 +46,7 @@ import flatmap from 'unist-util-flatmap'; const MERMAID_MAJOR_VERSION = ( JSON.parse(readFileSync('../mermaid/package.json', 'utf8')).version as string ).split('.')[0]; -const CDN_URL = 'https://unpkg.com'; // https://cdn.jsdelivr.net/npm +const CDN_URL = 'https://cdn.jsdelivr.net/npm'; // 'https://unpkg.com'; const verifyOnly: boolean = process.argv.includes('--verify'); const git: boolean = process.argv.includes('--git'); diff --git a/packages/mermaid/src/docs/intro/n00b-gettingStarted.md b/packages/mermaid/src/docs/intro/n00b-gettingStarted.md index e17bbffb9..a4dd7662f 100644 --- a/packages/mermaid/src/docs/intro/n00b-gettingStarted.md +++ b/packages/mermaid/src/docs/intro/n00b-gettingStarted.md @@ -128,7 +128,7 @@ Rendering in Mermaid is initialized by `mermaid.initialize()` call. You can plac ### Adding external diagrams to mermaid -Please refer to the [Mindmap](./mindmap.md?id=integrating-with-your-librarywebsite) section for more information. +Please refer to the [Mindmap](../syntax/mindmap.md?id=integrating-with-your-librarywebsite) section for more information. ### Working Examples