pub fn render_adr(
markdown: &str,
fallback_title: &str,
pages: &PublishedPages,
source: Option<&SourceBase>,
) -> RenderedAdrExpand description
Render one ADR markdown document to a themed HTML page. Leading YAML
frontmatter is stripped; the title is the first # heading, or fallback
if there is none. ADR [[…]] links resolve to sibling ADR pages.
An ADR page is served one directory below the site root (adr/), which is
the 1 below: a ../… link from an ADR still lands inside the site, and only
a second hop leaves it. See SourceBase for source.