| |
@@ -0,0 +1,27 @@
|
| |
+ From 4b482334a28d0706ba4bd68d51be9c041c135798 Mon Sep 17 00:00:00 2001
|
| |
+ From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?=
|
| |
+ <2589111+jfbu@users.noreply.github.com>
|
| |
+ Date: Sat, 25 Jun 2022 21:10:34 +0200
|
| |
+ Subject: [PATCH] Fix duplicated field term colons for Docutils 0.18+ (#10595)
|
| |
+
|
| |
+ Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
| |
+ ---
|
| |
+ sphinx/themes/basic/static/basic.css_t | 2 ++
|
| |
+ 2 files changed, 4 insertions(+)
|
| |
+
|
| |
+ diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t
|
| |
+ index d8f3fe74626..47f802dc4e7 100644
|
| |
+ --- a/sphinx/themes/basic/static/basic.css_t
|
| |
+ +++ b/sphinx/themes/basic/static/basic.css_t
|
| |
+ @@ -686,9 +686,11 @@ dl.field-list > dt {
|
| |
+ padding-right: 5px;
|
| |
+ }
|
| |
+
|
| |
+ +{%- if docutils_version_info[:2] < (0, 18) %}
|
| |
+ dl.field-list > dt:after {
|
| |
+ content: ":";
|
| |
+ }
|
| |
+ +{% endif %}
|
| |
+
|
| |
+ dl.field-list > dd {
|
| |
+ padding-left: 0.5em;
|
| |
This is a backport from Sphinx to enable correct rendering of colons with docutils 0.18 (which are in F37).