summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-09 14:29:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-11-09 14:29:52 (GMT)
commite242fa19caa152e7c317fde7f6eb79fb04451982 (patch)
treed4c976c6c8412c5203156a1fa8a854f9794e2a4c
parent30c42dbbad245e54857b63faaa64c7bbec7da684 (diff)
parent977c38c3399e58e1e1c03048c90f37646670d894 (diff)
downloadCMake-e242fa19caa152e7c317fde7f6eb79fb04451982.zip
CMake-e242fa19caa152e7c317fde7f6eb79fb04451982.tar.gz
CMake-e242fa19caa152e7c317fde7f6eb79fb04451982.tar.bz2
Merge topic 'doc-guide-link-style' into release-3.25
977c38c339 Help: Render guide links as normal text instead of monospace Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7886
-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 4539cf9..324cd92 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;
+}