Skip to content

Commit 30aede9

Browse files
committed
Prevent documented literals from being broken by word wrapping.
1 parent 7ffb785 commit 30aede9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
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+
code.literal {
2+
white-space: nowrap
3+
}

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@
185185
# Add any paths that contain custom static files (such as style sheets) here,
186186
# relative to this directory. They are copied after the builtin static files,
187187
# so a file named "default.css" will overwrite the builtin "default.css".
188-
# html_static_path = ["_static"]
188+
html_static_path = ["_static"]
189189

190-
# html_css_files = ["css/custom.css"]
190+
html_css_files = ["css/custom.css"]
191191

192192
# Add any extra paths that contain custom files (such as robots.txt or
193193
# .htaccess) here, relative to this directory. These files are copied

0 commit comments

Comments
 (0)