docs: add dynamic entity-relationship diagram to docs (#28130)

This commit is contained in:
Maxime Beauchemin
2024-04-23 16:12:42 -07:00
committed by GitHub
parent f155138659
commit 9db431b430
13 changed files with 1114 additions and 6 deletions

View File

@@ -39,6 +39,13 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Setup Python
uses: ./.github/actions/setup-backend/
- name: Compute Entity Relationship diagram (ERD)
run: |
python scripts/erd.py
curl -L http://sourceforge.net/projects/plantuml/files/1.2023.7/plantuml.1.2023.7.jar/download > ~/plantuml.jar
java -jar ~/plantuml.jar -v -tsvg -r -o "${{ github.workspace }}/docs/static/img/erd.svg" "${{ github.workspace }}/scripts/erd/erd.puml"
- name: yarn install
run: |
yarn install --check-cache