Document generator for my Bookshelf project
 
 
 
 
Go to file
Alex J. Best 58fcc5d468 only linkify lean code 2022-11-05 18:18:16 +01:00
.github/workflows ci: also run on scheduled builds 2022-10-06 22:10:53 +02:00
DocGen4 only linkify lean code 2022-11-05 18:18:16 +01:00
lean_packages chore: update toolchain 2022-10-28 23:47:09 +02:00
static Work around unsupported RegExp lookbehind in WebKit. (#85) 2022-10-20 18:21:33 +02:00
.gitignore feat: importedBy via Javascript 2022-07-22 16:56:51 +02:00
DocGen4.lean chore: update toolchain 2022-08-11 18:30:28 +02:00
LICENSE Initial commit 2021-11-10 17:41:28 -08:00
Main.lean chore: toolchain upgrade (#82) 2022-10-05 12:05:58 +02:00
README.md feat: implement facet 2022-08-11 22:58:25 +02:00
deploy_docs.sh chore: toolchain upgrade (#82) 2022-10-05 12:05:58 +02:00
lakefile.lean chore: update toolchain 10-20 (#86) 2022-10-20 19:51:26 +02:00
lean-toolchain chore: update toolchain 2022-10-28 23:47:09 +02:00

README.md

doc-gen4

Document Generator for Lean 4

Usage

doc-gen4 is the easiest to use via its custom Lake facet, in order to do this you have to add it to your lakefile.lean like this:

meta if get_config? env = some "dev" then -- dev is so not everyone has to build it
require «doc-gen4» from git "https://github.com/leanprover/doc-gen4" @ "main"

Then you can generate documentation for an entire library using:

lake -Kenv=dev build Test:docs

If you have multiple libraries you want to generate documentation for the recommended way right now is to run it for each library.