Skip to content

Commit 3e89d3f

Browse files
authored
Merge pull request #167 from danbaruka/main
chore: dependency updates, Docusaurus config, and package version bump
2 parents 5d57998 + ccc9ecd commit 3e89d3f

5 files changed

Lines changed: 1646 additions & 2261 deletions

File tree

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/docusaurus.config.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const config: Config = {
3737
projectName, // Usually your repo name.
3838

3939
onBrokenLinks: "throw",
40-
onBrokenMarkdownLinks: "throw",
4140

4241
// Even if you don't use internationalization, you can use this field to set
4342
// useful metadata like html lang. For example, if your site is Chinese, you
@@ -72,8 +71,29 @@ const config: Config = {
7271

7372
markdown: {
7473
mermaid: true,
74+
hooks: {
75+
onBrokenMarkdownLinks: "throw",
76+
},
7577
},
7678

79+
plugins: [
80+
function suppressVscodeLspWarning() {
81+
return {
82+
name: "suppress-vscode-lsp-warning",
83+
configureWebpack() {
84+
return {
85+
ignoreWarnings: [
86+
{
87+
module: /vscode-languageserver-types/,
88+
message: /Critical dependency: require function is used in a way in which dependencies cannot be statically extracted/,
89+
},
90+
],
91+
};
92+
},
93+
};
94+
},
95+
],
96+
7797
themes: [
7898
"@docusaurus/theme-mermaid",
7999
[

0 commit comments

Comments
 (0)