Skip to content

Commit 8aef53f

Browse files
committed
Replace deprecated style key in HTML template
`style` superceded by `styles` in Sphinx 5.1 and removed in Sphinx 7 sphinx-doc/sphinx#11381
1 parent 7be64a7 commit 8aef53f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/_themes/nist/basic_layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h3>{{ _('Navigation') }}</h3>
9494
{%- endmacro %}
9595

9696
{%- macro css() %}
97-
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
97+
<link rel="stylesheet" href="{{ pathto('_static/' + styles[-1], 1) }}" type="text/css" />
9898
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
9999
{%- for css in css_files %}
100100
{%- if css|attr("filename") %}

0 commit comments

Comments
 (0)