File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Adapted from changes to sphinx_rtd_theme (which is vendored in ghc):
2+ commit d34b71bb0977b4265ceff07955e974cfa73a2405
3+ From: Manuel Kaufmann <humitos@gmail.com>
4+ Date: Tue, 29 Aug 2023 11:43:41 +0200
5+ Subject: [PATCH] Use `css_tag` helper to inject CSS files (#1519)
6+
7+ * Use `css_tag` helper to inject CSS files
8+
9+ * Typo
10+ ---
11+ sphinx_rtd_theme/layout.html | 8 ++------
12+ 1 file changed, 2 insertions(+), 6 deletions(-)
13+
14+ diff --git a/docs/users_guide/rtd-theme/layout.html b/docs/users_guide/rtd-theme/layout.html
15+ index a83bdd29e..f3de11ad0 100644
16+ --- a/docs/users_guide/rtd-theme/layout.html
17+ +++ b/docs/users_guide/rtd-theme/layout.html
18+ @@ -29,11 +29,7 @@
19+ <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
20+ {%- endif %}
21+ - {%- for css in css_files %}
22+ + {%- for css_file in css_files %}
23+ - {%- if css|attr("rel") %}
24+ - <link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
25+ - {%- else %}
26+ - <link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" />
27+ - {%- endif %}
28+ + {{ css_tag(css_file) }}
29+ {%- endfor %}
30+
31+ {%- for cssfile in extra_css_files %}
Original file line number Diff line number Diff line change 22pkgname=ghc
33# Keep this synchronized with http://www.stackage.org/lts
44version=9.8.4
5- revision=1
5+ revision=2
66build_helper="haskell"
77_configure_args="--prefix=/usr"
88_hadrian_args="--prefix=/usr"
You can’t perform that action at this time.
0 commit comments