Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

fix sidebars in guzzle theme

leotrscda2bbece2c2
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 4b6680e17..af573347c 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -58,6 +58,11 @@ import guzzle_sphinx_theme
html_theme_path = guzzle_sphinx_theme.html_theme_path()
html_theme = 'guzzle_sphinx_theme'
+# There's a standing issue with Sphinx's new-style sidebars. This is a
+# workaround. Taken from
+# https://github.com/guzzle/guzzle_sphinx_theme/issues/33#issuecomment-637081826
+html_sidebars = {'**': ['logo-text.html', 'globaltoc.html', 'searchbox.html']}
+
# Register the theme as an extension to generate a sitemap.xml
extensions.append("guzzle_sphinx_theme")