Generate man page using pandoc.
Needs a few tweaks to make it usable but we can just append/prepend them in the makefile target.
This commit is contained in:
parent
48d939916c
commit
e48aa8af89
5
Makefile
5
Makefile
@ -50,6 +50,11 @@ docs-love2d:
|
||||
rm-docs:
|
||||
rm -rf src/fennel-ls/docs/
|
||||
|
||||
build/fennel-ls.1:
|
||||
echo ".TH FENNEL-LS 1" > $@
|
||||
pandoc --title-prefix=fennel-ls -t man docs/manual.md >> $@
|
||||
echo ".SH LICENSE\nCopyright © 2023-2025, Released under the MIT/X11 license" >> $@
|
||||
|
||||
deps:
|
||||
$(FENNEL) $(FENNELFLAGS) tools/get-deps.fnl
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Manual
|
||||
# Fennel Language Server Manual
|
||||
|
||||
This document has information on how to configure and use fennel-ls after you
|
||||
[installed it](installation.md).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user