pub fn render(baseline: &[u8], repo: &str, scopes: &[String]) -> Vec<u8> ⓘExpand description
Substitute the landing parameters into a rendered file’s bytes.
The repository’s owner — the project path’s first segment — replaces
every OWNER occurrence, and the scope list replaces the two scope
tokens. An empty scope list leaves the scope tokens standing, which
only a preview renders under; an apply refuses before reaching here.