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 df9555b commit 4c44a80
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
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;
}
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#
import os
import sys
import sphinx_rtd_theme # noqa

sys.path.insert(0, os.path.abspath("../python/"))

Expand Down Expand Up @@ -126,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 4c44a80

Please sign in to comment.