An open API service indexing awesome lists of open source software.

https://github.com/l3mon4d3/luals-mdgen

Generate documentation in markdown from LuaCATS-annotations
https://github.com/l3mon4d3/luals-mdgen

Last synced: 3 months ago
JSON representation

Generate documentation in markdown from LuaCATS-annotations

Awesome Lists containing this project

README

          

# Usage

Generate documentation in markdown from a templated markdown file and
LuaCATS-annotations.

```bash
# generate documentation (do whenever the source has changed).
emmylua_doc_cli -f json -i test_project -o ./
nvim --clean --headless -l mdgen.lua
```

For an example see the input in [`DOC-template.md`](https://github.com/L3MON4D3/luals-mdgen/blob/main/DOC-template.md?plain=1) and [`test_project/project.lua`](https://github.com/L3MON4D3/luals-mdgen/blob/main/test_project/project.lua) and the result in [`DOC.md`](https://github.com/L3MON4D3/luals-mdgen/blob/main/DOC.md).