Migrate rustdoc from Tera to Askama

See #84419.
This commit is contained in:
Dirkjan Ochtman 2022-01-03 18:18:46 +01:00
parent 89b9f7b284
commit 93a16cb7e2
12 changed files with 130 additions and 135 deletions

View file

@ -494,14 +494,7 @@ pub(super) fn write_shared(
})
.collect::<String>()
);
let v = layout::render(
&cx.shared.templates,
&cx.shared.layout,
&page,
"",
content,
&cx.shared.style_files,
);
let v = layout::render(&cx.shared.layout, &page, "", content, &cx.shared.style_files);
cx.shared.fs.write(dst, v)?;
}
}