CLI Reference

init

Create a new project scaffold.

docia init [directory] [--title <name>] [--force]

build

Generate static site output.

docia build [--config <path>]

dev

Build + serve with watch mode.

docia dev [--config <path>] [--host <host>] [--port <number>]

serve

Serve generated static output.

docia serve [--config <path>] [--host <host>] [--port <number>] [--build]

check

Validate docs graph and references.

docia check [--config <path>]

new

Create a new chapter file.

docia new <chapter-name> [--title <name>] [--summary] [--force]