From 65ff998a77ddd25e5d0160f98d69b630337ed427 Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Mon, 6 Feb 2023 10:40:38 +0100 Subject: [PATCH] Fix documentation layout issue of class properties workaround readthedocs/sphinx_rtd_theme#1301 Signed-off-by: Johannes Mueller --- docs/_static/css/fix-rtd-property.css | 5 +++++ docs/conf.py | 1 + 2 files changed, 6 insertions(+) create mode 100644 docs/_static/css/fix-rtd-property.css diff --git a/docs/_static/css/fix-rtd-property.css b/docs/_static/css/fix-rtd-property.css new file mode 100644 index 00000000..f84c3f5a --- /dev/null +++ b/docs/_static/css/fix-rtd-property.css @@ -0,0 +1,5 @@ +/* workaround readthedocs/sphinx_rtd_theme#1301 */ + +dl.py.property { + display: block !important; +} diff --git a/docs/conf.py b/docs/conf.py index 1f17636b..fb941adc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -226,6 +226,7 @@ html_css_files = [ 'css/custom.css', + 'css/fix-rtd-property.css' # workaround readthedocs/sphinx_rtd_theme#1301 ] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,