From c62c5680dbc00adb8aa9df9e98889c36c04d6ecc Mon Sep 17 00:00:00 2001 From: AdamRJensen Date: Fri, 17 Dec 2021 23:33:12 +0100 Subject: [PATCH] Move rtd ad to footer --- docs/sphinx/source/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/sphinx/source/conf.py b/docs/sphinx/source/conf.py index ddadd9a357..32314eb1a8 100644 --- a/docs/sphinx/source/conf.py +++ b/docs/sphinx/source/conf.py @@ -158,6 +158,7 @@ ], "use_edit_page_button": True, "show_toc_level": 1, + "footer_items": ["copyright", "sphinx-version", "sidebar-ethical-ads"], } # Add any paths that contain custom themes here, relative to this directory. @@ -198,7 +199,9 @@ #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +html_sidebars = { + "**": ["search-field", "sidebar-nav-bs"] # "sidebar-ethical-ads" +} # Additional templates that should be rendered to pages, maps page names to # template names.