Skip to main content

Module schema

Module schema 

Source
Expand description

JSON Schema generation for configuration.

§Configuration Schema Generator

This module generates a JSON Schema for crate::cmd::SsgConfig, enabling editor auto-completion, validation, and documentation of the configuration format.

Functions§

generate_schema
Generates a JSON Schema describing all crate::cmd::SsgConfig fields.
write_schema
Writes the JSON Schema to path as pretty-printed JSON.