Skip to content

Commit

Permalink
Bump pydata-sphinx-theme from 0.12.0 to 0.13.0 (#222)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Revathyvenugopal162 <[email protected]>
  • Loading branch information
dependabot[bot] and Revathyvenugopal162 committed Mar 31, 2023
1 parent 03a2421 commit ec284ca
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]

Expand Down
3 changes: 2 additions & 1 deletion src/ansys_sphinx_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
1 change: 1 addition & 0 deletions src/ansys_sphinx_theme/theme/ansys_sphinx_theme/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ additional_breadcrumbs =
use_edit_page_button = True
switcher =
use_meilisearch =
article_header_start =

0 comments on commit ec284ca

Please sign in to comment.