From f5fabe34c16d88479d7d620490e382f5803a89fc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Sep 2025 00:53:31 +0000 Subject: [PATCH 1/6] build: bump tox from 4.28.4 to 4.29.0 Bumps [tox](https://github.com/tox-dev/tox) from 4.28.4 to 4.29.0. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.28.4...4.29.0) --- updated-dependencies: - dependency-name: tox dependency-version: 4.29.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 614980f63..852238223 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,7 +64,7 @@ doc = [ "sphinx-jinja==2.0.2", "sphinx-notfound-page==1.1.0", "sphinx-theme-builder[cli]==0.2.0b2", - "tox==4.28.4", + "tox==4.29.0", ] changelog = [ "PyYAML==6.0.2", From f29357365e99fa719693f991adb6b4fefcedbee2 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Mon, 1 Sep 2025 00:54:18 +0000 Subject: [PATCH 2/6] chore: adding changelog file 787.dependencies.md [dependabot-skip] --- doc/changelog.d/787.dependencies.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/787.dependencies.md diff --git a/doc/changelog.d/787.dependencies.md b/doc/changelog.d/787.dependencies.md new file mode 100644 index 000000000..cb029a5f1 --- /dev/null +++ b/doc/changelog.d/787.dependencies.md @@ -0,0 +1 @@ +Bump tox from 4.28.4 to 4.29.0 From f8ebec21b97cefc5d3b6bea6cbb8577a4edc6dd7 Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Mon, 1 Sep 2025 09:29:10 +0200 Subject: [PATCH 3/6] fix: update the actions --- .github/workflows/ci_cd.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 84964d899..f5bdd8059 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -47,7 +47,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: ansys/actions/doc-changelog@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + - uses: ansys/actions/doc-changelog@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 if: ${{ github.event_name == 'pull_request' }} with: token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} @@ -62,7 +62,7 @@ jobs: needs: "changelog-fragment" steps: - name: "Run Ansys code style checks" - uses: ansys/actions/code-style@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + uses: ansys/actions/code-style@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -72,7 +72,7 @@ jobs: needs: "changelog-fragment" steps: - name: "Run Ansys documentation style checks" - uses: ansys/actions/doc-style@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + uses: ansys/actions/doc-style@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -80,7 +80,7 @@ jobs: name: Vulnerabilities runs-on: ubuntu-latest steps: - - uses: ansys/actions/check-vulnerabilities@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + - uses: ansys/actions/check-vulnerabilities@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} python-package-name: ${{ env.PACKAGE_NAME }} @@ -95,7 +95,7 @@ jobs: contents: write pull-requests: write steps: - - uses: ansys/actions/doc-deploy-changelog@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + - uses: ansys/actions/doc-deploy-changelog@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }} @@ -107,7 +107,7 @@ jobs: needs: doc-style steps: - name: "Run Ansys documentation building action" - uses: ansys/actions/doc-build@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + uses: ansys/actions/doc-build@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} add-pdf-html-docs-as-assets: true @@ -121,7 +121,7 @@ jobs: needs: build-library steps: - name: "Deploy developers documentation" - uses: ansys/actions/doc-deploy-dev@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + uses: ansys/actions/doc-deploy-dev@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} @@ -135,7 +135,7 @@ jobs: needs: release steps: - name: "Deploy stable documentation" - uses: ansys/actions/doc-deploy-stable@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + uses: ansys/actions/doc-deploy-stable@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} @@ -159,7 +159,7 @@ jobs: os: macos-latest steps: - name: "Build wheelhouse and perform smoke test" - uses: ansys/actions/build-wheelhouse@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + uses: ansys/actions/build-wheelhouse@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: library-name: ${{ env.PACKAGE_NAME }} operating-system: ${{ matrix.os }} @@ -172,7 +172,7 @@ jobs: needs: [doc-build, smoke-tests] steps: - name: "Build library source and wheel artifacts" - uses: ansys/actions/build-library@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + uses: ansys/actions/build-library@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: library-name: ${{ env.PACKAGE_NAME }} @@ -188,7 +188,7 @@ jobs: steps: - name: "Release to the private PyPI repository" - uses: ansys/actions/release-pypi-private@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + uses: ansys/actions/release-pypi-private@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: library-name: ${{ env.PACKAGE_NAME }} twine-username: "__token__" @@ -209,7 +209,7 @@ jobs: skip-existing: false - name: "Release to GitHub" - uses: ansys/actions/release-github@1096998b81f7ebdea116b683e11f3a8bda759ca6 # v10.0.14 + uses: ansys/actions/release-github@d93d46bd89025d3c78a0d18a68a9f16434c74382 # v10.0.15 with: token: ${{ secrets.GITHUB_TOKEN }} library-name: ${{ env.PACKAGE_NAME }} From d3f8f36294d9386d1f821b5a448ea489cbb93d49 Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Mon, 1 Sep 2025 10:55:00 +0200 Subject: [PATCH 4/6] fix: update the search import --- .../theme/ansys_sphinx_theme/layout.html | 10 +++------- .../theme/ansys_sphinx_theme/search.html | 8 ++++++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/layout.html b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/layout.html index efe13b456..5ec9539dc 100644 --- a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/layout.html +++ b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/layout.html @@ -12,6 +12,9 @@ {%- endif %} {%- endif %} + {% if theme_use_ansys_search %} + {%- include "components/ast-search-button.html" %} + {% endif %} {%- endblock %} {# Append our custom CSS after the bootstrap stylesheet so we can override where necessary #} @@ -40,13 +43,6 @@ {% endif %} {% endblock %} -{%- block content %} - {{ super() }} - {% if theme_use_ansys_search %} - {%- include "components/ast-search-button.html" %} - {% endif %} -{%- endblock %} - {%- block scripts_end %} {{ super() }} diff --git a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html index c1e1aa57c..a7f8f1357 100644 --- a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html +++ b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html @@ -21,8 +21,8 @@

{{ _("Search") }}

- - + + {% endblock %} @@ -30,3 +30,7 @@

{{ _("Search") }}

{{ _("Search") }} - {{ title or docstitle }} {%- endblock htmltitle -%} +{%- block scripts_end %} + + +{%- endblock %} From 9f6d095d121b80fcb1318610d33319152c724b26 Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Mon, 1 Sep 2025 10:55:00 +0200 Subject: [PATCH 5/6] fix: update the search import --- .../theme/ansys_sphinx_theme/layout.html | 10 +++------- .../theme/ansys_sphinx_theme/search.html | 8 ++++++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/layout.html b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/layout.html index efe13b456..5ec9539dc 100644 --- a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/layout.html +++ b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/layout.html @@ -12,6 +12,9 @@ {%- endif %} {%- endif %} + {% if theme_use_ansys_search %} + {%- include "components/ast-search-button.html" %} + {% endif %} {%- endblock %} {# Append our custom CSS after the bootstrap stylesheet so we can override where necessary #} @@ -40,13 +43,6 @@ {% endif %} {% endblock %} -{%- block content %} - {{ super() }} - {% if theme_use_ansys_search %} - {%- include "components/ast-search-button.html" %} - {% endif %} -{%- endblock %} - {%- block scripts_end %} {{ super() }} diff --git a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html index c1e1aa57c..a7f8f1357 100644 --- a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html +++ b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html @@ -21,8 +21,8 @@

{{ _("Search") }}

- - + + {% endblock %} @@ -30,3 +30,7 @@

{{ _("Search") }}

{{ _("Search") }} - {{ title or docstitle }} {%- endblock htmltitle -%} +{%- block scripts_end %} + + +{%- endblock %} From 8e4e4d2ea6d597c663fe0ab38c7ba05d2f839c6f Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Mon, 1 Sep 2025 08:58:09 +0000 Subject: [PATCH 6/6] chore: adding changelog file 788.fixed.md [dependabot-skip] --- doc/changelog.d/788.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/788.fixed.md diff --git a/doc/changelog.d/788.fixed.md b/doc/changelog.d/788.fixed.md new file mode 100644 index 000000000..df37a07c3 --- /dev/null +++ b/doc/changelog.d/788.fixed.md @@ -0,0 +1 @@ +Rearrange search import