Repository navigation
docs: render Mermaid diagrams and add architecture and flow diagrams - #33
Merged
Merged
Conversation
Exclude mermaid fences from Shiki and draw them in the browser with mermaid, loaded only on pages that have a diagram. Colours come from the semantic tokens in global.css. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Add 25 diagrams from the main repo docs (component map, GameServer phases, backup, restore and snapshot forget, idle sleep, multi-cluster, gateway, OIDC, tunnels, modules, standalone, CI and release, telemetry, security, install, notifications, monitoring). Fix stale facts: GameServer phases (no Stopped phase, Failed is not terminal), deleting a Backup now forgets its restic snapshot, and the OIDC first-login role with role mappings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
ValgulNecron
pushed a commit
to GameplanePanel/Gameplane
that referenced
this pull request
Nov 17, 2026
Brings in GameplanePanel/website#33: Mermaid rendering on docs pages, 25 diagrams and stale-fact fixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Website follow-up to GameplanePanel/Gameplane#994.
Mermaid rendering
astro.config.tsexcludesmermaidfrom Shiki, so a```mermaidfence stays a<pre><code class="language-mermaid">block.src/scripts/mermaid-diagrams.ts(loaded byDocsLayout) importsmermaid@11.17.2only on pages that have a diagram and renders each block withsecurityLevel: "strict". Colours come from the semantic tokens inglobal.css(no raw hex). A diagram that fails to parse leaves its source visible.global.cssstyles the block like the existing terminal code blocks. No page layout changes; valgul chose to skip the Pencil step for this follow-up because only diagram blocks inside docs pages change.Diagrams (25, copied verbatim from the reviewed main-repo docs)
architecture (component map, start-server sequence), status-phases-conditions (GameServer phases), backups-recovery (backup sequence, restore flow), backup-repository-operations (snapshot forget on delete), lifecycle-probes (idle sleep), multi-cluster, remote-agent-gateway (topology, request sequence), users-auth-rbac (OIDC login, role resolution), server-networking-tunnels (topology, sleeping join), modules-sources (module flow, Module phases), standalone-panel, ci-releases-signing (PR flow, release jobs, signing keys), telemetry-provider-kubernetes, security, installation, notification-events-payloads, metrics-alerts-dashboards.
Stale facts fixed (checked against the operator and API code)
Stopped; a stopped or sleeping server readsSuspended, andFailedis re-evaluated on every reconcile.restic forget <id> --prune, so retention now reclaims repository space.Not changed: platform-disaster-recovery keeps its current steps; the main repo's panel-recovery flow differs and needs a separate look.
Verified locally with
npm run check,npm run build, and a headless browser: every diagram renders, no console errors.Generated by Claude Code