Skip to content

Commit

Permalink
Replace deprecated style key in HTML template
Browse files Browse the repository at this point in the history
`style` superceded by `styles` in Sphinx 5.1 and removed in Sphinx 7
sphinx-doc/sphinx#11381
  • Loading branch information
guyer committed May 10, 2023
1 parent 7be64a7 commit 8aef53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/_themes/nist/basic_layout.html
Expand Up @@ -94,7 +94,7 @@ <h3>{{ _('Navigation') }}</h3>
{%- endmacro %}

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

0 comments on commit 8aef53f

Please sign in to comment.