Skip to content

Commit

Permalink
Add script to generate mermaid graph of automations (#26432)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Oct 27, 2023
1 parent bce8207 commit e5d4d51
Show file tree
Hide file tree
Showing 4 changed files with 648 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ jobs:
mv element-web/book.toml .
mdbook-mermaid install .
- name: Generate automations docs
run: |
npx ts-node element-web/scripts/gen-workflow-mermaid.ts element-desktop element-web matrix-react-sdk matrix-js-sdk > docs/automations.md
echo "- [Automations](automations.md)" >> docs/SUMMARY.md
- name: Build docs
run: mdbook build

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@
"webpack-dev-server": "^4.15.1",
"worker-loader": "^3.0.0",
"worklet-loader": "^2.0.0",
"yaml": "^2.0.1"
"yaml": "^2.3.3",
"cronstrue": "^2.41.0"
},
"@casualbot/jest-sonar-reporter": {
"outputDirectory": "coverage",
Expand Down
Loading

0 comments on commit e5d4d51

Please sign in to comment.