Document generator for my Bookshelf project
 
 
 
 
Go to file
Xubai Wang 59707cda58 refactor: use js for find 2022-02-21 01:12:49 +08:00
.github/workflows feat: CI and auto documentation preview for mathlib4 2022-01-07 10:29:15 +01:00
DocGen4 refactor: use js for find 2022-02-21 01:12:49 +08:00
static refactor: use js for find 2022-02-21 01:12:49 +08:00
.gitignore chore: Initial Lake project 2021-12-12 13:37:18 +01:00
DocGen4.lean feat: Attributes 2022-02-13 03:32:53 +01:00
LICENSE Initial commit 2021-11-10 17:41:28 -08:00
Main.lean fix: print usage when called without arguments 2022-01-20 15:38:48 +01:00
README.md feat: parameterize the URL root for links in the HTML 2022-01-07 10:56:39 +01:00
deploy_docs.sh feat: parameterize the URL root for links in the HTML 2022-01-07 10:56:39 +01:00
lakefile.lean fix: update Unicode.lean 2022-02-20 04:50:04 +08:00
lean-toolchain chore: bump lean version 2022-02-17 08:54:06 +08: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 the / is the root URL the HTML will refer to and 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 could e.g. host the files locally with the built-in Python webserver:

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