docs[patch]: Add mermaid JS theme dependency to docusaurus (#14051)

- **Description:** Add mermaid JS dependency and configs to
documentation. Allows inline doc diagrams in markdown.
  - **Dependencies:** NPM package @docusaurus/theme-mermaid
This commit is contained in:
Alex Kira 2023-12-01 11:06:29 -08:00 committed by GitHub
parent 32da0a4d71
commit 1757258b2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1063 additions and 0 deletions

View File

@ -26,6 +26,11 @@ const config = {
onBrokenLinks: "warn",
onBrokenMarkdownLinks: "throw",
themes: ["@docusaurus/theme-mermaid"],
markdown: {
mermaid: true,
},
plugins: [
() => ({
name: "custom-webpack-config",

1057
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -22,6 +22,7 @@
"@docusaurus/core": "2.4.0",
"@docusaurus/preset-classic": "2.4.0",
"@docusaurus/remark-plugin-npm2yarn": "^2.4.0",
"@docusaurus/theme-mermaid": "2.4.0",
"@mdx-js/react": "^1.6.22",
"@mendable/search": "^0.0.160",
"clsx": "^1.2.1",