summaryrefslogtreecommitdiffstats
path: root/common/sphinx_rtd_theme_rtems/layout.html
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2023-07-25 15:13:52 -0500
committerJoel Sherrill <joel@rtems.org>2023-07-25 15:20:12 -0500
commit13237ab34b8430760a930d456cc18ddf8e7ed55c (patch)
treee9d61572b76c070ec697ddfcd24c3e88b77f37dc /common/sphinx_rtd_theme_rtems/layout.html
parentc-user: Link task entry and global construction (diff)
downloadrtems-docs-13237ab34b8430760a930d456cc18ddf8e7ed55c.tar.bz2
layout.html: Revert patch forcing Spinx to >= 6.0
Unfortunately, updating past Sphinx 5.x results in unordered bullet lists not formatting correctly as show in a screen capture attached to #4928. Revert this patch until the issue is resolved and output is reviewed for other potential issues. From: Utkarsh Verma <utkarsh@bitbanged.com> Date: Wed, 14 Jun 2023 05:36:26 +0000 Subject: [PATCH] eng: Fix builds for newer Sphinx versions (>=7) The current Sphinx theme depends on the `style` parameter which got deprecated in v5.1 and finally got removed in v7. Now, the `styles` key should be preferred which is a list of stylesheets. This commit implements this change. Updates #4915. Updates #4928.
Diffstat (limited to '')
-rw-r--r--common/sphinx_rtd_theme_rtems/layout.html2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/sphinx_rtd_theme_rtems/layout.html b/common/sphinx_rtd_theme_rtems/layout.html
index 91d67b5..0fe6c65 100644
--- a/common/sphinx_rtd_theme_rtems/layout.html
+++ b/common/sphinx_rtd_theme_rtems/layout.html
@@ -67,9 +67,7 @@
{%- endblock %}
{# CSS #}
- {% for style in styles %}
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
- {% endfor %}
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
{%- for css in css_files %}
{%- if css|attr("rel") %}