mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-30 22:00:00 +00:00
docs: Enabled mermaid chart support for docs (#4433)
# What does this PR do? <!-- Provide a short summary of what this PR does and why. Link to relevant issues if applicable. --> - Before the fix <img width="1253" height="926" alt="Screenshot 2025-12-29 at 1 02 36 PM" src="https://github.com/user-attachments/assets/5321c265-9aef-4f6e-98f1-ebc7530e9934" /> - After fix <img width="1315" height="927" alt="Screenshot 2025-12-29 at 1 03 03 PM" src="https://github.com/user-attachments/assets/66382c7f-038d-4951-83b9-314e014390b2" /> <!-- If resolving an issue, uncomment and update the line below --> <!-- Closes #[issue-number] --> ## Test Plan <!-- Describe the tests you ran to verify your changes with result summaries. *Provide clear instructions so the plan can be easily re-executed.* -->
This commit is contained in:
parent
55a1da5526
commit
752a6836a0
3 changed files with 1292 additions and 0 deletions
|
|
@ -267,6 +267,7 @@ const config: Config = {
|
||||||
|
|
||||||
themes: [
|
themes: [
|
||||||
"docusaurus-theme-openapi-docs",
|
"docusaurus-theme-openapi-docs",
|
||||||
|
"@docusaurus/theme-mermaid",
|
||||||
[
|
[
|
||||||
require.resolve("@easyops-cn/docusaurus-search-local"),
|
require.resolve("@easyops-cn/docusaurus-search-local"),
|
||||||
{
|
{
|
||||||
|
|
@ -301,6 +302,10 @@ const config: Config = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
markdown: {
|
||||||
|
mermaid: true,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|
|
||||||
1286
docs/package-lock.json
generated
1286
docs/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -21,6 +21,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "3.8.1",
|
"@docusaurus/core": "3.8.1",
|
||||||
"@docusaurus/preset-classic": "3.8.1",
|
"@docusaurus/preset-classic": "3.8.1",
|
||||||
|
"@docusaurus/theme-mermaid": "3.8.1",
|
||||||
"@easyops-cn/docusaurus-search-local": "^0.52.1",
|
"@easyops-cn/docusaurus-search-local": "^0.52.1",
|
||||||
"@mdx-js/react": "^3.0.0",
|
"@mdx-js/react": "^3.0.0",
|
||||||
"clsx": "^2.0.0",
|
"clsx": "^2.0.0",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue