Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

build — the compiler

grantkit build [--format md|html|pdf|docx] [--share] [--output PATH] [PATH]

build assembles every response into one document and always refreshes status.json.

Options

OptionDescription
--formatOutput format: md (default), html, pdf, or docx.
--shareAlso write a self-contained assembled.html review page.
--output PATHPath for the compiled document (default proposal.<format>).

Formats

Missing an optional dependency produces a clear message and a 2 exit code rather than a stack trace.

Outputs

FileWhen
proposal.<format>Always (the compiled document).
assembled.htmlWith --share — a review page with per-section word counts and status badges.
status.jsonAlways — the machine-readable status contract.

Example

# Compile a PDF and a shareable review page
grantkit build --format pdf --share

# Plain-text portal: get copy blocks to paste into each box
grantkit build --format md