File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ /* Reduce vertical space between lines in code blocks */
2+ .highlight pre , pre {
3+ line-height : 1.1 ; /* default ~1.4-1.5 */
4+ margin : 0 ;
5+ padding : 0.5em 1em ; /* optional padding */
6+ }
Original file line number Diff line number Diff line change 1212#
1313import os
1414import sys
15+ import tqdm
1516
1617from nlmod import __version__
1718
1819sys .path .insert (0 , os .path .abspath ("." ))
1920
21+ # Override tqdm to disable all progress bars in documentation
22+ tqdm .tqdm = lambda * args , ** kwargs : iter (args [0 ] if args else [])
23+
2024
2125# -- Project information -----------------------------------------------------
2226
8589# relative to this directory. They are copied after the builtin static files,
8690# so a file named "default.css" will overwrite the builtin "default.css".
8791html_static_path = ["_static" ]
92+ html_css_files = [
93+ 'custom.css' ,
94+ ]
8895
8996# add a logo
9097html_logo = "_static/logo_10000_2_2.png"
You can’t perform that action at this time.
0 commit comments