enable search box and logo
@@ -124,9 +124,17 @@ html_theme_options = {
# name of a builtin theme or the name of a custom theme in html_theme_path.
html_theme = "pydata_sphinx_theme"
+# Static files to copy after template files
+html_static_path = ["_static"]
+html_logo = os.path.join(html_static_path[0], "logo.png")
+html_favicon = os.path.join(html_static_path[0], "gammapy_logo.ico")
# Custom sidebar templates, maps document names to template names.
# html_sidebars = {}
+html_sidebars = {
+ 'search': 'search-field.html',
+ 'navigation': 'sidebar-nav-bs.html',
+}
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
