Browse Source

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.
Alex Turbov 3 years ago
parent
commit
977c38c339
1 changed files with 11 additions and 0 deletions
  1. 11 0
      Utilities/Sphinx/static/cmake.css

+ 11 - 0
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;
+}