-
Couldn't load subscription status.
- Fork 14
Add D2 diagram support to documentation #241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx affected -t build --configuration=production... |
❌ Failed | 25s | View ↗ |
nx affected -t lint typecheck test --parallel -... |
✅ Succeeded | 7m 26s | View ↗ |
☁️ Nx Cloud last updated this comment at 2025-10-19 20:27:31 UTC
4abfda9 to
e4d77c6
Compare
e4d77c6 to
b229ca7
Compare
b229ca7 to
dda0f95
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-241.pgflow.pages.dev 📝 Details:
_Last updated: _ |
🔍 Preview Deployment: Playground✅ Deployment successful! 🔗 Preview URL: https://pr-241--pgflow-demo.netlify.app 📝 Details:
_Last updated: _ |
… diagrams - Introduced 'astro-d2' package and integrated D2 theme overrides for light and dark modes - Updated documentation to include detailed D2 architecture and task lifecycle diagrams - Modified package.json to include 'astro-d2' dependency - Enhanced Astro configuration with new theme settings and diagrams for better clarity
dda0f95 to
689397e
Compare

Integrates D2 diagramming tool into the website build pipeline, enabling architecture diagrams directly in MDX files.
Changes
astro-d2integration with pgflow brand colors for light/dark themes.github/actions/setup-d2- reusable action to install D2 CLI with retry logicpublic/d2/to gitignore - SVGs are generated at build timeHow it works
Write D2 diagrams in MDX files using ````d2` code blocks:
At build time:
astro-d2renders diagrams to SVG inpublic/d2/<img>tagsExample
See
/concepts/how-pgflow-works/for live diagrams showing the three-layer architecture.