diff options
| author | Albert Krewinkel <[email protected]> | 2022-02-05 12:57:19 +0100 |
|---|---|---|
| committer | Albert Krewinkel <[email protected]> | 2022-02-05 13:32:02 +0100 |
| commit | 31693674758e83de2fedf8554c3787430f57ab8f (patch) | |
| tree | e010f02488b99d3e475977668549a45dc18bbbb4 /Makefile | |
| parent | d40d94ebd9919802267159c0d753d90cca36b1dc (diff) | |
Lua docs: allow to auto-generate Lua module documentations
No documentations are generated for now, this just adds the necessary
code and auto-formats file `doc/lua-filters.md`.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -107,6 +107,15 @@ README.md: README.template MANUAL.txt tools/update-readme.lua pandoc --lua-filter tools/update-readme.lua \ --reference-location=section -t gfm $< -o $@ +.PHONY: doc/lua-filters.md +doc/lua-filters.md: tools/update-lua-module-docs.lua + cabal run pandoc -- --standalone \ + --reference-links \ + --lua-filter=$< \ + --columns=66 \ + --output=$@ \ + $@ + download_stats: ## print download stats from GitHub releases curl https://api.github.com/repos/jgm/pandoc/releases | \ jq -r '.[] | .assets | .[] | "\(.download_count)\t\(.name)"' |
