Commit Graph
2 Commits
Author SHA1 Message Date
ArmorandClaude ac2578ca8b fix(wiki): use group(1) for script extraction; use link button for topology
The wiki_update_page.py script had a bug where extract_script_to_script_js
used match.group(0) (including <script> tags) instead of group(1) (pure JS).
This caused Wiki.js to render page JS as escaped HTML text rather than
executing it.

Since Wiki.js markdown editor strips iframes and only the markdown editor
is enabled, the topology diagram is now linked via a prominent button that
opens the interactive topology viewer in a new tab.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-13 17:06:33 +08:00
ArmorandClaude e8e2f99450 feat(wiki): embed interactive topology diagram in Guanghan Program page
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-13 16:53:58 +08:00