pub fn codegen( filename: &Path, output: &Path, template: Option<&str>) -> Result<CodegenOutput, SubplotError>
Generate code for one document.