Re: [PATCH] docs: render <span class="literal"> with monospace font

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 06, 2020 at 04:00:56PM +0100, Ján Tomko wrote:
> On Thu, Feb 06, 2020 at 01:05:18PM +0000, Daniel P. Berrangé wrote:
> > When using ``....`` in RST, this results in <span class="literal">...</span>
> 
> Same for me [0], however it shows up as <tt class="literal"> on the libvirt
> website.

Oh because Fedora uses HTML5, but our configure script is set to
fallback to the HTML4 generator on older docutils.

I'll  extend the CSS to cover 'tt' too

> 
> > instead of <code>...</code>. We thus need an extra rule to render it
> > with a monospace font. Colouring a light gray also helps the text
> > stand out a little more and matches background of <pre> blocks.
> > 
> > Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> > ---
> > docs/libvirt.css | 5 +++++
> > 1 file changed, 5 insertions(+)
> > 
> 
> Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>
> 
> Jano
> 
> [0] python3-docutils-0.14-6.fc30.noarch



Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux