lua notes
things i keep forgetting how to do in lua, written up so i dont have to ask again
each page here is one thing, how to do it and the bit that tripped me up. pages live in
docs/content/docs/, one .mdx per topic, a folder per area
lua/, the language itself, no c involved
adding a page
- drop a
.mdxin its areas folder,content/docs/lua/for pure lua,titleanddescriptionin the frontmatter - a new area is a new folder, a
meta.jsonin it sets the sidebar title and the order pnpm devindocs/to preview atlocalhost:3000