pub fn compile_site(
build_dir: &Path,
content_dir: &Path,
site_dir: &Path,
template_dir: &Path,
) -> Result<(), SsgError>Expand description
Compiles the static site from source directories.
Convenience wrapper over compile_site_with_base_url with no
base URL — no permalink: derivation happens on staged content.
The full build pipeline calls compile_site_with_base_url with
the configured base_url instead (spec A2/B1, plan §2 item 1.2).
§Examples
use ssg::pipeline::compile_site;
use std::path::Path;
// Real call requires populated content/template trees; only the
// signature is exercised here.
let _ = compile_site(
Path::new("build"), Path::new("content"),
Path::new("site"), Path::new("templates"),
);