Routing Rules

mkpages preserves structure relative to the chosen content root.

Core rules

Examples

If the command is:

mkpages .

then:

If the command is:

mkpages docs/

then:

Relative Markdown links such as CLI Reference are rewritten so they continue to work after route generation.