quarto-web
quarto-web copied to clipboard
Feature/lua api autogen
This PR uses the output of Lua-LS --doc to auto-generate API documentation.
Structure:
-
_*.mdfiles are automatically generated byquarto run tools/build-lua-types-autogen.ts -
_*.qmdfiles include the associated_*.mdfile, and can add additional hand-written material to the top of the document (see docs/lua/quarto/brand.qmd for a minimal example) - if the
tools/build-lua-types-autogen.tsscript is run withstubsas the first parameter, it will overwrite the .qmd files indocs/lua. - all files in this directory run with the
docs/lua/luaapi_autogen.luafilter which drops some bad markdown generated by Lua-LS.
🚀 Deployed on https://deploy-preview-1649.quarto.org