Skip to content

Commit 57bbc5d

Browse files
authored
improve css (#615)
1 parent 91d7fd2 commit 57bbc5d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/_static/css/custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pre {
2+
white-space: break-spaces;
3+
}

docs/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@
9494
# Add any paths that contain custom static files (such as style sheets) here,
9595
# relative to this directory. They are copied after the builtin static files,
9696
# so a file named "default.css" will overwrite the builtin "default.css".
97-
html_static_path: list = []
97+
html_static_path = ["_static"]
98+
99+
# These paths are either relative to html_static_path
100+
# or fully qualified paths (eg. https://...)
101+
html_css_files = [
102+
"css/custom.css",
103+
]
98104
nb_execution_mode = "off"
99105
myst_enable_extensions = ["colon_fence"]

0 commit comments

Comments
 (0)