Skip to content

Commit 1f6a514

Browse files
Bump pydata-sphinx-theme from 0.12.0 to 0.13.0 (#222)
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]>
1 parent 4bdc847 commit 1f6a514

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifiers = [
2626
]
2727
dependencies = [
2828
"Sphinx>=4.2.0,<6",
29-
"pydata-sphinx-theme==0.12.0",
29+
"pydata-sphinx-theme==0.13.0",
3030
"Jinja2>=3.1.2",
3131
]
3232

src/ansys_sphinx_theme/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ def setup_default_html_theme_options(app):
8282
app.config.html_theme_options.setdefault(
8383
"navbar_end", ["version-switcher", "theme-switcher", "navbar-icon-links"]
8484
)
85-
app.config.html_theme_options.setdefault("collapse_navigation", "True")
85+
app.config.html_theme_options.setdefault("collapse_navigation", True)
86+
app.config.html_theme_options.setdefault("icon_links", [])
8687

8788

8889
def setup(app: Sphinx) -> Dict:

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css

+5
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,11 @@ button, input, optgroup, select, textarea,button:hover {
684684
border-color: #f8f9fa;
685685
}
686686

687+
button.btn.version-switcher__button {
688+
border-color: var(--pst-color-border);
689+
color: #ddd;
690+
}
691+
687692
button.version-switcher__button:hover {
688693
color: #f8f8f2;
689694
}

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/theme.conf

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ additional_breadcrumbs =
1313
use_edit_page_button = True
1414
switcher =
1515
use_meilisearch =
16+
article_header_start =

0 commit comments

Comments
 (0)