From a8f020b46a3b7dea38572809a8e1d5e9da7684f9 Mon Sep 17 00:00:00 2001 From: Pierrick Rambaud Date: Sun, 17 Sep 2023 21:06:38 +0200 Subject: [PATCH 1/2] fix: stop overriding the default behavior of the ooter --- docs/source/_static/css/custom.css | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css index 0cdf44e3..661b7afe 100644 --- a/docs/source/_static/css/custom.css +++ b/docs/source/_static/css/custom.css @@ -6,20 +6,8 @@ div.jupyter_container.docutils { } /******************************************************************************* - * make the footer inlined - */ -.footer-item { - display: inline-block; -} -.footer-item:not(:last-child) { - border-right: 1px solid var(--pst-color-text-base); - margin-right: 0.5em; - padding-right: 0.5em; -} - -/******************************************************************************* - * overwrite image filter in dark theme - * most of our images are from SEPAL which is already using a dark theme + * overwrite image filter in dark theme + * most of our images are from SEPAL which is already using a dark theme * there is no need for extra contrast and dimned brightness */ html[data-theme="dark"] img { From 7e75da784f4a662959200aeed2f542725c127ba7 Mon Sep 17 00:00:00 2001 From: Pierrick Rambaud Date: Sun, 17 Sep 2023 21:33:08 +0200 Subject: [PATCH 2/2] docs: use all options of the footer --- docs/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index dd2b363a..3b865c2a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -117,6 +117,8 @@ "icon": "fa-brands fa-python", }, ], + "footer_start": ["copyright.html"], + "footer_center": ["sphinx-version.html"], } html_context = { "github_user": "12rambau",