Home

stencila site render

Render site content to a directory

Usage

stencila site render [OPTIONS] <OUTPUT>

Examples

# Render site to a directory
stencila site render ./dist

# Render specific routes
stencila site render ./dist --route /docs/

# Render from a specific source
stencila site render ./dist --source ./content

Arguments

NameDescription
<OUTPUT>Output directory for rendered files.

Options

NameDescription
-s, --sourceSource directory (uses site.root if configured, otherwise current directory).
--routeFilter by route prefix (only render matching routes).
--pathFilter by source file path prefix.
--web-baseBase URL for web assets (themes, views, JS, CSS).
© 2026 Stencila