We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a2fe75 commit 84615e8Copy full SHA for 84615e8
src/librustdoc/html/render/context.rs
@@ -596,9 +596,11 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
596
|buf: &mut Buffer| {
597
write!(
598
buf,
599
- "<script defer src=\"{}settings{}.js\"></script>",
600
- page.static_root_path.unwrap_or(""),
601
- page.resource_suffix
+ "<link rel=\"stylesheet\" type=\"text/css\" \
+ href=\"{root_path}settings{suffix}.css\">\
+ <script defer src=\"{root_path}settings{suffix}.js\"></script>",
602
+ root_path = page.static_root_path.unwrap_or(""),
603
+ suffix = page.resource_suffix,
604
)
605
},
606
&self.shared.style_files,
0 commit comments