diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 762741423..a8c9f1dce 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -89,13 +89,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: "Release to the private PyPI repository" - uses: pyansys/actions/release-pypi-private@v3 - with: - library-name: ${{ env.PACKAGE_NAME }} - twine-username: "__token__" - twine-token: ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }} - - name: "Release to the public PyPI repository" uses: pyansys/actions/release-pypi-public@v3 with: @@ -104,6 +97,6 @@ jobs: twine-token: ${{ secrets.PYPI_TOKEN }} - name: "Release to GitHub" - uses: pyansys/actions/release-github@v3 + uses: pyansys/actions/release-github@v4 with: library-name: ${{ env.PACKAGE_NAME }} diff --git a/pyproject.toml b/pyproject.toml index 2edc908b9..a677a833d 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.3", "Jinja2>=3.1.2", ] diff --git a/src/ansys_sphinx_theme/__init__.py b/src/ansys_sphinx_theme/__init__.py index a232832d5..41971bd68 100644 --- a/src/ansys_sphinx_theme/__init__.py +++ b/src/ansys_sphinx_theme/__init__.py @@ -6,8 +6,7 @@ from ansys_sphinx_theme.latex import generate_404 # noqa: F401 -__version__ = "0.9.5" - +__version__ = "0.9.6" # Declare the fundamental paths of the theme THIS_PATH = pathlib.Path(__file__).parent.resolve() @@ -82,7 +81,7 @@ 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) 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 7dbf74611..2585d0ea1 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; } @@ -930,9 +935,8 @@ div.deprecated { background-color: #dc354514; } -div.versionadded { - border-color: var(--pst-color-success); - background: #88ca881f; +div.deprecated, div.versionadded, div.versionchanged{ + background-color: transparent; } .admonition, div.admonition{ 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 d8c4d8001..0188dc63b 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 =