← Command reference · CLI overview
lean-pkg site
a package’s documentation site (proposal 0012): site check reads it offline (Jekyll, MkDocs or a static site served as committed).
Usage
lean-pkg site [--json] [COMMAND]
Subcommands
lean-pkg site check: read-only: check the site in DIR (default docs): generated pages current and linked, Markdown inside HTML blocks, mathematics, the noindex while private, the files it serves, a shadowing index.html; hand-written counts are warnings; exit 0/1
Exit codes
0 success (dry runs and no-ops included), 1 refused or failed, 2 usage error; see Exit codes.