pub fn emit_sidecars(content_dir: &Path, sidecar_dir: &Path) -> Result<usize>Expand description
Emits .meta.json sidecar files for all Markdown content.
Walks content_dir for .md files, extracts frontmatter via
frontmatter-gen, and writes a JSON sidecar alongside each file
in the same relative location under sidecar_dir.
These sidecars are consumed by TeraPlugin, JsonLdPlugin, and
other plugins that need parsed frontmatter after compilation.