configuration.md

Configuration

Markdown

Configuration

Configuration is optional. Without onyx.ini, Onyx builds every conventional content folder it finds, uses theme/ for overrides if present, and enables search, graph data, and source links.

Example onyx.ini:

site_title = My Notes
source = docs, wiki
theme = theme
search = true
graph = true
show_source = true

Supported keys

KeyDefaultNotes
site_titleHome note title, then OnyxSets the site title shown by the template.
sourceExisting conventional foldersComma- or whitespace-separated list of content folders. Explicit sources must exist.
themethemeRelative path to theme overrides. Absolute paths are rejected.
searchtrueWrites public/search-index.json and enables search UI data.
graphtrueWrites public/graph.json and enables graph UI data.
show_sourcetrueShows links to original Markdown files when templates expose them.

Unknown keys are ignored for compatibility. Legacy aliases are still accepted: build.search, build.graph, and publish_raw_markdown. When both a modern key and a legacy alias are present, the modern key wins.

This site's configuration

For reference, the onyx.ini that builds the site you are reading is:

site_title = Onyx
source = docs
theme = theme
search = true
graph = true
show_source = true

The explicit source = docs keeps Onyx's internal plans/ folder out of the published site. To restyle the output, see Theme Overrides.