Skip to content

feat(docs): add live Rhai diagram editor + PowerShell docserve#37

Merged
promptexecutionerr merged 1 commit into
mainfrom
replace-mermaid-with-rhai
Apr 20, 2026
Merged

feat(docs): add live Rhai diagram editor + PowerShell docserve#37
promptexecutionerr merged 1 commit into
mainfrom
replace-mermaid-with-rhai

Conversation

@promptexecutionerr
Copy link
Copy Markdown
Collaborator

@promptexecutionerr promptexecutionerr commented Apr 20, 2026

Summary

  • restore mdBook Rhai diagram sections to the supported mini-DSL
  • add a live docs editor/preview for Rhai -> Mermaid with runtime diagnostics
  • lazy-load Mermaid in-browser when unavailable and improve render error messaging
  • add unit tests for the live editor core parser/diagnostics
  • add Windows/WSL docs startup scripts (docserve-live.pwsh + docserve-live.ps1) and just wsl2-pwsh-docserve
  • update AGENTS/README/visualize docs for the new workflow

Validation

  • cargo test -p mdbook-rhai-mermaid
  • just docgen-check
  • just wsl2-pwsh-docserve
  • PowerShell HTTP checks for http://127.0.0.1:3000/theory.html (200 + live assets present)

@promptexecutionerr promptexecutionerr merged commit 10dc1a2 into main Apr 20, 2026
1 check failed
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.

1 participant