Skip to content

Docs: replace static images with generated themed SVG diagrams - #85

Merged
Will-Guan merged 3 commits into
mainfrom
Refactor
Aug 13, 2026
Merged

Docs: replace static images with generated themed SVG diagrams#85
Will-Guan merged 3 commits into
mainfrom
Refactor

Conversation

@jizhen181-dot

Copy link
Copy Markdown
Collaborator

Summary

Replaces hand-made doc images with programmatically generated SVG
diagrams that adapt to theme and locale.

New

  • scripts/gen-diagrams.py — diagram generator; re-run it to
    regenerate all SVGs after content changes
  • static/img/diagrams/ — 36 generated SVGs: 9 diagrams x
    (dark / light) x (en / zh) variants

Docs updated to embed the diagrams (en + zh-Hans)

  • BANK OF AI intro (architecture overview)
  • x402 core concepts: client-server, gateway,
    network-and-token-support, protocol index
  • x402 API Catalog index
  • Agent Wallet SDK Guide / SDK Cookbook (EVM, TRON, and x402
    Permit2 signing flows)

Removed (superseded, no dangling references)

  • Old static architecture SVG and SKILLS screenshots
  • Unused static/img/favicon.svg and twitter_card_bg.jpg
    (site uses favicon.ico; both verified unreferenced)

Testing

  • yarn build passes locally for both locales (en, zh-Hans)
  • Verified no remaining references to deleted assets

jizhen181-dot and others added 3 commits August 13, 2026 16:19
- Add scripts/gen-diagrams.py and 36 generated SVGs under
  static/img/diagrams/ (light/dark x en/zh variants)
- Embed diagrams in BANK OF AI intro, x402 core-concepts/catalog,
  and Agent Wallet SDK docs (en + zh-Hans)
- Remove superseded images (architecture SVG, skills screenshots,
  unused favicon.svg / twitter_card_bg.jpg)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Will-Guan
Will-Guan merged commit 20d9dee into main Aug 13, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants