From: Dmitry Shachnev Date: Fri, 31 Jan 2025 19:36:22 +0300 Subject: Remove some unpackaged and unused dependencies from the docs Forwarded: not-needed --- docs/conf.py | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) Index: pydata-sphinx-theme/docs/conf.py =================================================================== --- pydata-sphinx-theme.orig/docs/conf.py +++ pydata-sphinx-theme/docs/conf.py @@ -46,19 +46,10 @@ extensions = [ "_extension.component_directive", # For extension examples and demos "myst_parser", - "ablog", - "jupyter_sphinx", - "sphinxcontrib.mermaid", - "sphinxcontrib.youtube", - "nbsphinx", "numpydoc", - "sphinx_togglebutton", - "jupyterlite_sphinx", "sphinx_favicon", ] -jupyterlite_config = "jupyterlite_config.json" - # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] @@ -201,7 +192,7 @@ html_theme_options = { # "show_nav_level": 2, "announcement": "https://raw.githubusercontent.com/pydata/pydata-sphinx-theme/main/docs/_templates/custom-template.html", "show_version_warning_banner": True, - "navbar_center": ["version-switcher", "navbar-nav"], + "navbar_center": ["navbar-nav"], # "navbar_start": ["navbar-logo"], # "navbar_end": ["theme-switcher", "navbar-icon-links"], # "navbar_persistent": ["search-button"], @@ -214,10 +205,6 @@ html_theme_options = { "**/*": ["page-toc", "edit-this-page", "sourcelink"], "examples/no-sidebar": [], }, - "switcher": { - "json_url": json_url, - "version_match": version_match, - }, # "back_to_top_button": False, "search_as_you_type": True, } @@ -229,18 +216,6 @@ html_sidebars = { ], # This ensures we test for custom sidebars "examples/no-sidebar": [], # Test what page looks like with no sidebar items "examples/persistent-search-field": ["search-field"], - # Blog sidebars - # ref: https://ablog.readthedocs.io/manual/ablog-configuration-options/#blog-sidebars - "examples/blog/*": [ - "ablog/postcard.html", - "ablog/recentposts.html", - "ablog/tagcloud.html", - "ablog/categories.html", - "ablog/authors.html", - "ablog/languages.html", - "ablog/locations.html", - "ablog/archives.html", - ], } html_context = {