Add script to generate mermaid graph of automations (#26432)
This commit is contained in:
parent
bce8207293
commit
e5d4d5108d
4 changed files with 648 additions and 2 deletions
5
.github/workflows/docs.yml
vendored
5
.github/workflows/docs.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue