From 24cf510425da9fc04bc6afacf1bd014feff11534 Mon Sep 17 00:00:00 2001 From: Patrick Avery Date: Mon, 23 May 2022 14:54:09 -0500 Subject: [PATCH] Fix properties on same line by adding css file Signed-off-by: Patrick Avery --- docs/api/source/_static/css/custom.css | 3 +++ docs/api/source/conf.py | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 docs/api/source/_static/css/custom.css diff --git a/docs/api/source/_static/css/custom.css b/docs/api/source/_static/css/custom.css new file mode 100644 index 00000000..e02ca17a --- /dev/null +++ b/docs/api/source/_static/css/custom.css @@ -0,0 +1,3 @@ +dl.py.property { + display: block !important; +} diff --git a/docs/api/source/conf.py b/docs/api/source/conf.py index c94b3fda..59b59bea 100644 --- a/docs/api/source/conf.py +++ b/docs/api/source/conf.py @@ -51,6 +51,12 @@ html_theme = "sphinx_rtd_theme" +html_static_path = ["_static"] + +html_css_files = [ + "css/custom.css", +] + # -- Modify environment variables -------------------------------------------- os.environ.update({