Skip to content

Commit 8122a88

Browse files
Merge pull request #19 from westonrobot/enhancement-npm
npm: update npm dependencies to remove security warnings
2 parents b2a76ee + 12c79d1 commit 8122a88

4 files changed

Lines changed: 2513 additions & 1744 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@
1818
npm-debug.log*
1919
yarn-debug.log*
2020
yarn-error.log*
21+
22+
.vscode/

docusaurus.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const config: Config = {
2121
projectName: 'docs', // Usually your repo name.
2222

2323
onBrokenLinks: 'throw',
24-
onBrokenMarkdownLinks: 'warn',
2524

2625
// Even if you don't use internationalization, you can use this field to set
2726
// useful metadata like html lang. For example, if your site is Chinese, you
@@ -34,6 +33,9 @@ const config: Config = {
3433
// Add Mermaid support
3534
markdown: {
3635
mermaid: true,
36+
hooks: {
37+
onBrokenMarkdownLinks: 'warn',
38+
},
3739
},
3840
themes: ['@docusaurus/theme-mermaid'],
3941

0 commit comments

Comments
 (0)