diff --git a/pyproject.toml b/pyproject.toml index 2edc908b..98fa0ea5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ ] dependencies = [ "Sphinx>=4.2.0,<6", - "pydata-sphinx-theme==0.12.0", + "pydata-sphinx-theme==0.13.0", "Jinja2>=3.1.2", ] diff --git a/src/ansys_sphinx_theme/__init__.py b/src/ansys_sphinx_theme/__init__.py index ba09c1dc..7b9f0d83 100644 --- a/src/ansys_sphinx_theme/__init__.py +++ b/src/ansys_sphinx_theme/__init__.py @@ -82,7 +82,8 @@ def setup_default_html_theme_options(app): app.config.html_theme_options.setdefault( "navbar_end", ["version-switcher", "theme-switcher", "navbar-icon-links"] ) - app.config.html_theme_options.setdefault("collapse_navigation", "True") + app.config.html_theme_options.setdefault("collapse_navigation", True) + app.config.html_theme_options.setdefault("icon_links", []) def setup(app: Sphinx) -> Dict: diff --git a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css index 7dbf7461..be0b1b40 100644 --- a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css +++ b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css @@ -684,6 +684,11 @@ button, input, optgroup, select, textarea,button:hover { border-color: #f8f9fa; } +button.btn.version-switcher__button { + border-color: var(--pst-color-border); + color: #ddd; +} + button.version-switcher__button:hover { color: #f8f8f2; } diff --git a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/theme.conf b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/theme.conf index d8c4d800..0188dc63 100644 --- a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/theme.conf +++ b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/theme.conf @@ -13,3 +13,4 @@ additional_breadcrumbs = use_edit_page_button = True switcher = use_meilisearch = +article_header_start =