From f8ae5f26fc59a16f42b0c1a50b3dbf685b3bcecc Mon Sep 17 00:00:00 2001
From: taooooooooooooooo <112991218+forrestIsRunning@users.noreply.github.com>
Date: Tue, 8 Sep 2026 07:02:06 +0800
Subject: [PATCH] docs: fix volume-content mermaid diagram rendering
GitHub fails to render the Volume content sequence diagram because Mermaid treats ';' as a statement separator and HTML </> entities as invalid tokens. Use Mermaid entity codes so the note and domain placeholders parse.
---
docs/ARCHITECTURE.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
index 4bc253df5f..3175ac7021 100644
--- a/docs/ARCHITECTURE.md
+++ b/docs/ARCHITECTURE.md
@@ -385,10 +385,10 @@ sequenceDiagram
U->>API: POST /volumes (create) or GET /volumes/{id}
API->>PG: persist / load volume row
- API->>API: mint JWT (aud = https://api.<domain>)
resolve domain
+ API->>API: mint JWT (aud = https://api.#lt;domain#gt;)
resolve domain
API-->>U: { volumeID, name, token, domain? }
- Note over U: domain is returned only for BYOC teams;
SDK stores it and falls back to api.<E2B_DOMAIN> otherwise
- U->>VC: /volumecontent/{id}/... at api.<domain>
Authorization: Bearer token
+ Note over U: domain is returned only for BYOC teams#59;
SDK stores it and falls back to api.#lt;E2B_DOMAIN#gt; otherwise
+ U->>VC: /volumecontent/{id}/... at api.#lt;domain#gt;
Authorization: Bearer token
VC->>VC: verify token (audience must match its own origin)
VC-->>U: file content
```