chore(yarn): add mermaid to dependencies

Add mermaid to allow drawing diagrams.

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2023-02-04 17:52:16 +01:00
parent c80ea2afb1
commit 701ad8236a
Signed by: mfocko
GPG key ID: 7C47D46246790496
2 changed files with 14 additions and 1 deletions

View file

@ -206,8 +206,20 @@ const config = {
sidebar: {
hideable: true,
}
}
},
mermaid: {
options: {
fontFamily: "Iosevka,'Iosevka Term','Cascadia Code','JetBrains Mono','Fira Code',monospace",
},
},
}),
markdown: {
mermaid: true,
},
themes: [
'@docusaurus/theme-mermaid',
],
};
module.exports = config;

View file

@ -16,6 +16,7 @@
"dependencies": {
"@docusaurus/core": "^2.3.1",
"@docusaurus/preset-classic": "^2.3.1",
"@docusaurus/theme-mermaid": "^2.3.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"dotenv": "^16.0.3",