Skip to content

Commit 55911b5

Browse files
authored
refactor: remove unused mermaid diagrams and scripts (#535)
# Remove Mermaid Diagram Compilation Scripts and Files This PR removes unused Mermaid diagram compilation scripts and generated SVG files from the website package. The changes include: 1. Deleting the `mmdc-compile` and `mmdc-watch` scripts from the `bin` directory 2. Removing the `gen-diagram` script from `package.json` 3. Deleting all generated SVG diagram files from the `public/diagrams` directory 4. Removing all Mermaid source files from `src/assets` 5. Replacing Mermaid diagram references in documentation with D2 diagrams The D2 diagram syntax has been preserved in the documentation files, ensuring that the visual content remains available but is now using the preferred diagramming tool.
1 parent aabc0d3 commit 55911b5

File tree

19 files changed

+132
-133
lines changed

19 files changed

+132
-133
lines changed

pkgs/website/bin/mmdc-compile

Lines changed: 0 additions & 30 deletions
This file was deleted.

pkgs/website/bin/mmdc-watch

Lines changed: 0 additions & 10 deletions
This file was deleted.

pkgs/website/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"start": "astro dev",
1010
"build": "astro check && astro build",
1111
"preview": "astro preview",
12-
"astro": "astro",
13-
"gen-diagram": "mmdc --backgroundColor='#121a19' --theme neutral --output public/analyze_website.svg < m.mermaid"
12+
"astro": "astro"
1413
},
1514
"dependencies": {
1615
"@astrojs/check": "^0.9.4",

pkgs/website/public/analyze_website.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/website/public/diagrams/schema.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkgs/website/public/diagrams/step-state-machine.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)