mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
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:
parent
32da0a4d71
commit
1757258b2a
@ -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
1057
docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user