Skip to content

Commit 6acf31f

Browse files
committed
Update dependencies for Sphinx 8
Major dependency updates: - sphinx - sphinx_rtd_theme - myst-parser - mdformat-frontmatter Minor dependency updates: - sphinx-copybutton - sphinx-notfound-page - sphinx-sitemap - frontmatter - mdformat - mdformat-myst - GitPython - ruamel.yaml
1 parent ac1b601 commit 6acf31f

5 files changed

Lines changed: 27 additions & 28 deletions

File tree

docs/_static/css/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/_static/scss/components/_layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@
470470
grid-area: 1 / span 1;
471471
}
472472
}
473-
.wy-side-nav-search>a {
473+
.wy-side-nav-search>a.icon {
474474
display: flex;
475475
margin-bottom: 0;
476476
font-size: 15px;

docs/_templates/layout.html

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,22 @@
2828
{%- endblock -%}
2929

3030
{#- CSS #}
31-
{%- if sphinx_version_info < (4, 0) -%}
32-
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
33-
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
34-
{%- endif %}
35-
{%- if theme_analytics_id %}
36-
<link rel="stylesheet" href="{{ pathto('_static/cookieconsent.css', 1) }}" type="text/css" />
37-
{%- endif %}
38-
{%- for css in css_files %}
39-
{%- if css|attr("rel") %}
40-
<link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
31+
{%- for css_file in css_files %}
32+
{%- if css_file|attr("filename") %}
33+
{{ css_tag(css_file) }}
4134
{%- else %}
42-
<link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" />
35+
<link rel="stylesheet" href="{{ pathto(css_file, 1)|escape }}" type="text/css" />
4336
{%- endif %}
4437
{%- endfor %}
4538

46-
{%- for cssfile in extra_css_files %}
47-
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
39+
{#
40+
"extra_css_files" is an undocumented Read the Docs theme specific option.
41+
There is no need to check for ``|attr("filename")`` here because it's always a string.
42+
Note that this option should be removed in favor of regular ``html_css_files``:
43+
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_css_files
44+
#}
45+
{%- for css_file in extra_css_files %}
46+
<link rel="stylesheet" href="{{ pathto(css_file, 1)|escape }}" type="text/css" />
4847
{%- endfor -%}
4948

5049
{#- FAVICON #}

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@
114114
"php": {"startinline": True}, # We often have php snippets without the <?php tag
115115
}
116116

117-
notfound_no_urls_prefix = True
117+
notfound_urls_prefix = None
118118

119119
myst_heading_anchors = 5

requirements/base.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# docs/ requirements
2-
sphinx==5.3.0
3-
sphinx_rtd_theme==1.1.1
4-
myst-parser==0.18.1
2+
sphinx==8.2.3
3+
sphinx_rtd_theme==3.0.2
4+
myst-parser==4.0.1
55
mdit-py-plugins
6-
sphinx-copybutton==0.5.1
7-
mdformat==0.7.16
8-
mdformat-myst==0.1.5
9-
mdformat-frontmatter==0.4.1
10-
sphinx-notfound-page==0.8.3
11-
sphinx-sitemap==2.4.0
12-
GitPython==3.1.30
13-
ruamel.yaml==0.18.12
6+
sphinx-copybutton==0.5.2
7+
mdformat==0.7.22
8+
mdformat-myst==0.2.1
9+
mdformat-frontmatter==2.0.8
10+
sphinx-notfound-page==1.1.0
11+
sphinx-sitemap==2.8.0
12+
GitPython==3.1.45
13+
ruamel.yaml==0.18.15
1414

1515
# hypernode/ requirements
1616
beautifulsoup4==4.11.1
1717
markdownify==0.11.2
1818
python-slugify==6.1.2
1919
pyyaml==5.1
20-
frontmatter==3.0.7
20+
frontmatter==3.0.8

0 commit comments

Comments
 (0)