Skip to content

Commit b3c1b5e

Browse files
authored
Move rtd ad to footer (#1359)
1 parent e105486 commit b3c1b5e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/sphinx/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158
],
159159
"use_edit_page_button": True,
160160
"show_toc_level": 1,
161+
"footer_items": ["copyright", "sphinx-version", "sidebar-ethical-ads"],
161162
}
162163

163164
# Add any paths that contain custom themes here, relative to this directory.
@@ -198,7 +199,9 @@
198199
#html_use_smartypants = True
199200

200201
# Custom sidebar templates, maps document names to template names.
201-
#html_sidebars = {}
202+
html_sidebars = {
203+
"**": ["search-field", "sidebar-nav-bs"] # "sidebar-ethical-ads"
204+
}
202205

203206
# Additional templates that should be rendered to pages, maps page names to
204207
# template names.

0 commit comments

Comments
 (0)