pub fn build_manifest(cfg: &SsgConfig) -> ValueExpand description
Pure-function manifest builder — split from write_ai_plugin_json
so unit tests can assert the JSON shape without touching the
filesystem.
§Examples
use ssg::cmd::SsgConfig;
use ssg::postprocess::agentic_discovery::build_manifest;
let cfg = SsgConfig::builder()
.site_name("Example".into())
.base_url("https://example.com".into())
.build()
.unwrap();
let m = build_manifest(&cfg);
assert_eq!(m["schema_version"], "v1");
assert_eq!(m["auth"]["type"], "none");