Interactive docs and playground for transon, deployed at https://transon-org.github.io/.
| Branch | Purpose |
|---|---|
master |
Source — React app, public/ assets, TypeScript |
gh-pages |
Release — built static site served by GitHub Pages |
Do not edit gh-pages by hand. Deploy from master with npm run deploy.
npm install
npm startOpen http://localhost:3000. The playground needs PyScript to load transon from PyPI in the browser; local dev behaves the same as production.
npm run deployThis runs npm run build (via predeploy), then pushes the build/ folder to the gh-pages branch with gh-pages.
After deploy, verify https://transon-org.github.io/ loads the docs (not a blank page). PyScript assets are pinned in public/index.html — the /latest/ CDN path no longer exists.
- React renders rule docs and examples.
- PyScript runs
public/script.py, which importstransonand callsjs.init()with JSON fromtranson.docs.get_all_docs(). - Example editors call
transform(template, data)bridged from Python viapyscript.interpreter.globals.