Greatly improve rustdoc rendering speed issues
This commit is contained in:
parent
118e052d84
commit
edfe2a893e
4 changed files with 611 additions and 529 deletions
|
@ -868,9 +868,8 @@ themePicker.onblur = handleThemeButtonsBlur;
|
|||
}
|
||||
|
||||
{
|
||||
let mut data = format!("var resourcesSuffix = \"{}\";\n",
|
||||
cx.shared.resource_suffix);
|
||||
data.push_str(static_files::STORAGE_JS);
|
||||
let mut data = static_files::STORAGE_JS.to_owned();
|
||||
data.push_str(&format!("var resourcesSuffix = \"{}\";", cx.shared.resource_suffix));
|
||||
write_minify(cx.dst.join(&format!("storage{}.js", cx.shared.resource_suffix)),
|
||||
&data,
|
||||
options.enable_minification)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue