Skip to content

Commit

Permalink
Add comment about theme version checking in conf.
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbar committed Jul 7, 2022
1 parent 26caf95 commit 7d109d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@
"show_prev_next": False,
"navbar_end": ["search-field.html", "navbar-icon-links.html"],
}
# NOTE: The following is required for supporting of older sphinx toolchains.
# The "theme-switcher" templated should be added directly to navbar_end
# above and the following lines removed when the minimum supported
# version of pydata_sphinx_theme is 0.9.0
# Add version switcher for versions of pydata_sphinx_theme that support it
import packaging
import pydata_sphinx_theme
Expand All @@ -94,6 +98,7 @@
):
html_theme_options["navbar_end"].insert(0, "theme-switcher")


html_sidebars = {
"**": [],
}
Expand Down

0 comments on commit 7d109d4

Please sign in to comment.