Skip to content

Commit bf6582e

Browse files
Move creation of theme.css file from --extend-css command into the static.files folder
1 parent 0d7ed3b commit bf6582e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/templates/page.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</noscript> {# #}
6565
{% if layout.css_file_extension.is_some() %}
6666
<link rel="stylesheet" {#+ #}
67-
href="{{static_root_path|safe}}theme{{page.resource_suffix}}.css"> {# #}
67+
href="{{page.root_path|safe}}theme{{page.resource_suffix}}.css"> {# #}
6868
{% endif %}
6969
{% if !layout.favicon.is_empty() %}
7070
<link rel="icon" href="{{layout.favicon}}"> {# #}

0 commit comments

Comments
 (0)