Skip to content

Commit

Permalink
doc: Workaround for "floating properties" issue
Browse files Browse the repository at this point in the history
  • Loading branch information
luator committed Dec 3, 2021
1 parent 5a41613 commit 8a23d93
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Workaround for https://github.com/readthedocs/sphinx_rtd_theme/issues/1247 */
dl.py.property {
display: block !important;
}
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

# path is relative to html_static_path
html_css_files = [
'custom.css',
]

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#
Expand Down

0 comments on commit 8a23d93

Please sign in to comment.