grab the latest release, or build from source:
go get github.com/vito/booklit/cmd/booklit
booklit -i foo.lit -o ./out
clone this repo and build its docs:
booklit \
-i ./docs/lit/index.lit \
-o ./docs \
--html-templates docs/lit/html \
--plugin github.com/vito/booklit/booklitdoc
then browse the generated docs from ./docs/index.html
.
you can see the result at https://vito.github.io/booklit