Document generator for my Bookshelf project
 
 
 
 
Go to file
Henrik Böving 38e02c5f65
Merge pull request #56 from leanprover/leanink
LeanInk Integration
2022-06-20 23:16:46 +02:00
.github/workflows feat: update CI and README 2022-06-20 23:04:03 +02:00
DocGen4 feat: Basic semantic highlighting support 2022-06-20 22:21:48 +02:00
static feat: Basic semantic highlighting support 2022-06-20 22:21:48 +02:00
.gitignore chore: Initial Lake project 2021-12-12 13:37:18 +01:00
DocGen4.lean feat: LeanInk all the files, HTML generation missing 2022-06-20 00:31:09 +02:00
LICENSE Initial commit 2021-11-10 17:41:28 -08:00
Main.lean feat: LeanInk all the files, HTML generation missing 2022-06-20 00:31:09 +02:00
README.md feat: update CI and README 2022-06-20 23:04:03 +02:00
deploy_docs.sh feat: update CI and README 2022-06-20 23:04:03 +02:00
lakefile.lean feat: LeanInk all the files, HTML generation missing 2022-06-20 00:31:09 +02:00
lean-toolchain chore: update compiler and lake 2022-06-19 16:41:59 +02:00

README.md

doc-gen4

Document Generator for Lean 4

Usage

You can call doc-gen4 from the top of a Lake project like this:

$ /path/to/doc-gen4 Module

where Module is one or more of the top level modules you want to document. The tool will then proceed to compile the project using lake (if that hasn't happened yet), analyze it and put the result in ./build/doc.

You can optionally provide the path to a LeanInk binary using the --ink flag which will make the tool produce Alectryon style rendered output along the usual documentation.

You could e.g. host the files locally with the built-in Python webserver:

$ cd build/doc && python -m http.server