From 977c38c3399e58e1e1c03048c90f37646670d894 Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Tue, 8 Nov 2022 05:18:19 +0400 Subject: Help: Render guide links as normal text instead of monospace The guide document names are phrases, not code-like man-page names. Add CSS selectors for `:guide:` links and revert unnecessary properties. --- Utilities/Sphinx/static/cmake.css | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Utilities') diff --git a/Utilities/Sphinx/static/cmake.css b/Utilities/Sphinx/static/cmake.css index 4539cf96f6..324cd92eb1 100644 --- a/Utilities/Sphinx/static/cmake.css +++ b/Utilities/Sphinx/static/cmake.css @@ -34,3 +34,14 @@ div.outdated { text-align: center; width: 100%; } + +/* Revert style to the inherited (normal text) for `:guide:` links */ +code.xref.cmake-guide { + font-size: inherit; + font-family: inherit; + font-weight: inherit; + padding: inherit; +} +code.xref.cmake-guide span.pre { + white-space: inherit; +} -- cgit v1.2.1