about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-04-12 14:56:08 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-04-12 20:07:10 +0200
commitbf6582e0cc9c1fbeb274bd496c8077e94d26adc4 (patch)
treef1521ca4989c7f646069be0a59dad5acf797b392
parent0d7ed3ba8445452013dd873dc9abcad41a3d82b2 (diff)
downloadrust-bf6582e0cc9c1fbeb274bd496c8077e94d26adc4.tar.gz
rust-bf6582e0cc9c1fbeb274bd496c8077e94d26adc4.zip
Move creation of `theme.css` file from `--extend-css` command into the `static.files` folder
-rw-r--r--src/librustdoc/html/templates/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/templates/page.html b/src/librustdoc/html/templates/page.html
index 532660e3d33..9133f899af6 100644
--- a/src/librustdoc/html/templates/page.html
+++ b/src/librustdoc/html/templates/page.html
@@ -64,7 +64,7 @@
     </noscript> {# #}
     {% if layout.css_file_extension.is_some() %}
         <link rel="stylesheet" {#+ #}
-            href="{{static_root_path|safe}}theme{{page.resource_suffix}}.css"> {# #}
+            href="{{page.root_path|safe}}theme{{page.resource_suffix}}.css"> {# #}
     {% endif %}
     {% if !layout.favicon.is_empty() %}
         <link rel="icon" href="{{layout.favicon}}"> {# #}