Booklit is a tool for building static websites from semantic documents.
grab the latest release, or build from source:
go get github.com/vito/booklit/cmd/booklit
go install github.com/vito/booklit/cmd/booklit
booklit -i foo.lit -o ./out
clone this repo and build the Booklit website:
./scripts/build-docs
then browse the generated docs from ./docs/index.html
.
alternatively, run the docs in server mode:
./scripts/build-docs -s 3000
...and then browse to localhost:3000