summaryrefslogtreecommitdiff
path: root/Utilities/Sphinx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-09 14:29:33 +0000
committerKitware Robot <kwrobot@kitware.com>2022-11-09 09:29:53 -0500
commit6834ffd21bba7dcf10c125866f39ae17450de78a (patch)
tree1980c9d238833fc742e6edc9948568ce780302d1 /Utilities/Sphinx
parentef2ffed6738bb40a55963d7fd7286070ed657a9c (diff)
parent977c38c3399e58e1e1c03048c90f37646670d894 (diff)
downloadcmake-6834ffd21bba7dcf10c125866f39ae17450de78a.tar.gz
Merge topic 'doc-guide-link-style'
977c38c339 Help: Render guide links as normal text instead of monospace Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7886
Diffstat (limited to 'Utilities/Sphinx')
-rw-r--r--Utilities/Sphinx/static/cmake.css11
1 files changed, 11 insertions, 0 deletions
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;
+}