Add script to generate mermaid graph of automations (#26432)

This commit is contained in:
Michael Telatynski 2023-10-27 14:03:30 +01:00 committed by GitHub
parent bce8207293
commit e5d4d5108d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 648 additions and 2 deletions

View file

@ -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