Sphinx/docs: Avoid usage of deprecated `style` keyword (#8709)

Fixes: 8230

Style keyword is deprecated in sphinx 7.x
This commit is contained in:
Konstantin Baikov 2024-05-04 10:41:22 +02:00 committed by GitHub
parent 203f5501ff
commit bde597c574
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@
<title>{{ title|striptags }}{{ titlesuffix }}</title> <title>{{ title|striptags }}{{ titlesuffix }}</title>
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" /> <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" /> {%- for style in styles %}
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
{%- endfor %}
{%- if not embedded %} {%- if not embedded %}
{%- block scripts %} {%- block scripts %}