Skip to content

Commit

Permalink
[docs] attempt to fix rendering of property attribs on RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
jborbely committed May 14, 2023
1 parent de1d86f commit d327fdf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.rst-content dl:not(.docutils) .property {
display: revert;
}
html.writer-html4 .rst-content dl:not(.docutils) .property, html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .property {
display: revert;
}
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

html_css_files = ['css/custom.css']

# -- Options for HTMLHelp output ------------------------------------------

Expand Down

0 comments on commit d327fdf

Please sign in to comment.