From b0d2d18c3deede056001344283244c14af3bef47 Mon Sep 17 00:00:00 2001 From: Django Goat Date: Wed, 19 Feb 2025 23:29:46 +0200 Subject: [PATCH] docs - added css to increase content width --- docs/_static/css/custom_theme.css | 5 +++++ docs/conf.py | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 docs/_static/css/custom_theme.css diff --git a/docs/_static/css/custom_theme.css b/docs/_static/css/custom_theme.css new file mode 100644 index 0000000..e6e34db --- /dev/null +++ b/docs/_static/css/custom_theme.css @@ -0,0 +1,5 @@ +@import url("theme.css"); + +.wy-nav-content { + max-width: 90%; +} diff --git a/docs/conf.py b/docs/conf.py index 8fbfe9e..b11b51d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -71,6 +71,8 @@ todo_include_todos = False # a list of builtin themes. html_theme = "sphinx_rtd_theme" +html_style = "css/custom_theme.css" + # Add any paths that contain custom themes here, relative to this directory. html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]