We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d393e01 commit 48a4df0Copy full SHA for 48a4df0
2 files changed
lib/spack/docs/_static/css/custom.css
@@ -0,0 +1,3 @@
1
+.rst-content div[class^="highlight"] pre {
2
+ max-height: 300px;
3
+}
lib/spack/docs/conf.py
@@ -308,6 +308,9 @@ def setup(sphinx):
308
# so a file named "default.css" will overwrite the builtin "default.css".
309
html_static_path = ["_static"]
310
311
+# These paths are relative to html_static_path
312
+html_css_files = ["css/custom.css"]
313
+
314
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
315
# using the given strftime format.
316
html_last_updated_fmt = "%b %d, %Y"
0 commit comments