metrics/Fix-build-error-for-sphinx-7.0.patch

13 lines
704 B
Diff
Raw Permalink Normal View History

2023-08-02 15:41:09 +08:00
diff -Nur a/docs/source/_themes/metrics/layout.html b/docs/source/_themes/metrics/layout.html
--- a/docs/source/_themes/metrics/layout.html 2015-04-26 11:55:19.000000000 +0800
+++ b/docs/source/_themes/metrics/layout.html 2023-08-02 15:17:19.255362367 +0800
@@ -19,7 +19,7 @@
{%- for cssfile in css_files %}
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css"/>
{%- endfor %}
- <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css"/>
+ <link rel="stylesheet" href="{{ pathto('_static/', styles) }}" type="text/css"/>
{%- if favicon %}
<link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
{%- endif %}