Skip to content

Commit

Permalink
Change dependency range for Mermaid, allow 10.4+
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Sep 19, 2024
1 parent 95e2d46 commit bb11f32
Show file tree
Hide file tree
Showing 3 changed files with 309 additions and 350 deletions.
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-mermaid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@docusaurus/theme-common": "3.5.2",
"@docusaurus/types": "3.5.2",
"@docusaurus/utils-validation": "3.5.2",
"mermaid": "^10.4.0",
"mermaid": ">=10.4",
"tslib": "^2.6.0"
},
"devDependencies": {
Expand Down
19 changes: 19 additions & 0 deletions website/_dogfooding/_pages tests/diagrams.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -428,3 +428,22 @@ quadrantChart
Campaign E: [0.40, 0.34]
Campaign F: [0.35, 0.78]
```

## Architecture Diagram

- See https://mermaid.js.org/syntax/architecture
- See https://github.com/facebook/docusaurus/discussions/10508

```mermaid
architecture-beta
group api(cloud)[API]
service db(database)[Database] in api
service disk1(disk)[Storage] in api
service disk2(disk)[Storage] in api
service server(server)[Server] in api
db:L -- R:server
disk1:T -- B:server
disk2:T -- B:db
```
Loading

0 comments on commit bb11f32

Please sign in to comment.