[Git][ghc/ghc][master] users_guide: fix runtime error during build with Sphinx 9.1.0
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: e8f5a45d by sterni at 2026-01-29T04:19:18-05:00 users_guide: fix runtime error during build with Sphinx 9.1.0 Appears that pathto is stricter about what it accepts now. Tested Sphinx 8.2.3 and 9.1.0 on the ghc-9.10 branch. Resolves #26810. Co-authored-by: Martin Weinelt <hexa@darmstadt.ccc.de> - - - - - 1 changed file: - docs/users_guide/rtd-theme/layout.html Changes: ===================================== docs/users_guide/rtd-theme/layout.html ===================================== @@ -32,7 +32,7 @@ {%- if css|attr("rel") %} <link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} /> {%- else %} - <link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" /> + <link rel="stylesheet" href="{{ pathto(css.filename, 1) }}" type="text/css" /> {%- endif %} {%- endfor %} View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e8f5a45de561ec80c88cd3da2c66502d... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e8f5a45de561ec80c88cd3da2c66502d... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)