pub fn render_profile(
doc_type: Option<DocType>,
format: Option<Format>,
) -> RenderProfileExpand description
Resolve a (DocType, Option<Format>) pair to a RenderProfile.
Pure and total: every DocType maps to exactly one profile, and every
Format reaches a profile (drift-tested). None for the doc type
resolves to RenderProfile::Document. Papers default to
Format::Article and reports to Format::Mla when format is absent.