MAML examples showcasing language features. Built with maml-ast.
npm install
npm run generate # add 100 new examples and render their pages
npm run serve # preview site/ at http://localhost:5173
generate.js— generates examples and writes pagessite.js— page markup and Shiki highlightingassets/style.css— the only stylesheet; copied intosite/on each rundata/*.maml— stored examples, 1000 per chunksite/— generated HTML,404.html, sharded sitemaps androbots.txt, committed and deployed as-is
New examples are generated weekly by .github/workflows/deploy.yml. Pages are
rendered to HTML when an example is created, so a deploy uploads files with no
build step. Editing assets/style.css needs no re-render;
changing the markup in site.js does — run npm run render.