From 6d5bd86a88c1411e99119c2ebed97af71d545f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Rinc=C3=B3n=20Blanco?= Date: Thu, 20 Jun 2024 21:34:16 +0200 Subject: [PATCH] Colour code like Conan 1 docs, ensure highlight works --- _static/css/conan.css | 4 ++++ conf.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_static/css/conan.css b/_static/css/conan.css index f99e8e08a41f..6df6d2ea738a 100644 --- a/_static/css/conan.css +++ b/_static/css/conan.css @@ -25,3 +25,7 @@ h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend { text-align: left; font-weight: bold; } + +.highlight .hll { + background-color: #bbbbbbbb; +} diff --git a/conf.py b/conf.py index ace986c27119..d0148758d149 100644 --- a/conf.py +++ b/conf.py @@ -143,7 +143,7 @@ #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sas' +pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = []