From 564f865a63b8fd9ffbf16259c8a115ecb42b0091 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 19 Nov 2021 14:28:05 +0530 Subject: [PATCH] Fix the :italic: role used for CLI docs not being rendered correctly in the HTML docs --- docs/_static/custom.css | 4 ++++ docs/conf.py | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 5ead67f97..744f8c771 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -5,6 +5,10 @@ * Distributed under terms of the MIT license. */ +.italic { + font-style: italic; +} + .sidebar-logo { max-height: 128px; } diff --git a/docs/conf.py b/docs/conf.py index f1be8ed47..c82745c93 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -98,11 +98,7 @@ rst_prolog = ''' .. |kitty| replace:: *kitty* .. |version| replace:: VERSION .. _tarball: https://github.com/kovidgoyal/kitty/releases/download/vVERSION/kitty-VERSION.tar.xz -.. role:: green .. role:: italic -.. role:: bold -.. role:: cyan -.. role:: title '''.replace('VERSION', str_version)