render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
a41c76
From 20fafe768fcaa5aef96d5d77e1209f46e48228e0 Mon Sep 17 00:00:00 2001
a41c76
Message-Id: <20fafe768fcaa5aef96d5d77e1209f46e48228e0@dist-git>
a41c76
From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
a41c76
Date: Wed, 4 Mar 2020 12:42:32 +0100
a41c76
Subject: [PATCH] docs: render class="literal" with monospace font
a41c76
MIME-Version: 1.0
a41c76
Content-Type: text/plain; charset=UTF-8
a41c76
Content-Transfer-Encoding: 8bit
a41c76
a41c76
When using ``....`` in RST, this results in ...
a41c76
instead of .... We thus need an extra rule to render it
a41c76
with a monospace font. Colouring a light gray also helps the text
a41c76
stand out a little more and matches background of 
 blocks.
a41c76
a41c76
Reviewed-by: Ján Tomko <jtomko@redhat.com>
a41c76
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
a41c76
(cherry picked from commit 039787c71a2bee6e60ddf5cb0515c0cdb85dd20b)
a41c76
Signed-off-by: Ján Tomko <jtomko@redhat.com>
a41c76
https://bugzilla.redhat.com/show_bug.cgi?id=1694166
a41c76
Message-Id: <72f7f14e62e058c436303fdeed68986f435b9011.1583322090.git.jtomko@redhat.com>
a41c76
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
a41c76
---
a41c76
 docs/libvirt.css | 5 +++++
a41c76
 1 file changed, 5 insertions(+)
a41c76
a41c76
diff --git a/docs/libvirt.css b/docs/libvirt.css
a41c76
index d2e1842b62..2fe123395c 100644
a41c76
--- a/docs/libvirt.css
a41c76
+++ b/docs/libvirt.css
a41c76
@@ -574,3 +574,8 @@ ul.news-section-content li dl dd {
a41c76
     margin-top: 0.5em;
a41c76
     margin-bottom: 0.5em;
a41c76
 }
a41c76
+
a41c76
+.literal, code {
a41c76
+    font-family: monospace;
a41c76
+    background: #eeeeee;
a41c76
+}
a41c76
-- 
a41c76
2.25.1
a41c76