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:
Phil Hagelberg 2025-03-04 08:59:51 -08:00
parent 48d939916c
commit e48aa8af89
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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).