From 25340caa12c7861ad150f8e5384d4922bea189eb Mon Sep 17 00:00:00 2001 From: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com> Date: Mon, 27 Feb 2023 17:01:50 +0100 Subject: [PATCH 1/9] VER : version 0.9.5 --- .github/workflows/ci_cd.yml | 18 +++++++++--------- doc/source/conf.py | 2 +- src/ansys_sphinx_theme/__init__.py | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 4138fe3c7..ab4b2b23c 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Run PyAnsys code style checks" - uses: pyansys/actions/code-style@v3 + uses: pyansys/actions/code-style@v4 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Run Ansys documentation style checks" - uses: pyansys/actions/doc-style@v3 + uses: pyansys/actions/doc-style@v4 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -43,7 +43,7 @@ jobs: needs: doc-style steps: - name: "Run Ansys documentation building action" - uses: pyansys/actions/doc-build@v3 + uses: pyansys/actions/doc-build@v4 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -54,7 +54,7 @@ jobs: needs: build-library steps: - name: "Deploy developers documentation" - uses: pyansys/actions/doc-deploy-dev@v3 + uses: pyansys/actions/doc-deploy-dev@v4 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} @@ -66,7 +66,7 @@ jobs: needs: release steps: - name: "Deploy stable documentation" - uses: pyansys/actions/doc-deploy-stable@v3 + uses: pyansys/actions/doc-deploy-stable@v4 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} @@ -78,7 +78,7 @@ jobs: needs: [doc-build, code-style] steps: - name: "Build library source and wheel artifacts" - uses: pyansys/actions/build-library@v3 + uses: pyansys/actions/build-library@v4 with: library-name: ${{ env.PACKAGE_NAME }} @@ -90,20 +90,20 @@ jobs: steps: - name: "Release to the private PyPI repository" - uses: pyansys/actions/release-pypi-private@v3 + uses: pyansys/actions/release-pypi-private@v4 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 + uses: pyansys/actions/release-pypi-public@v4 with: library-name: ${{ env.PACKAGE_NAME }} twine-username: "__token__" 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/doc/source/conf.py b/doc/source/conf.py index ccf4679ae..58e214c66 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -61,7 +61,7 @@ }, ], "switcher": { - "json_url": f"https://{cname}/release/versions.json", + "json_url": f"https://{cname}/versions.json", "version_match": get_version_match(__version__), }, "use_meilisearch": { diff --git a/src/ansys_sphinx_theme/__init__.py b/src/ansys_sphinx_theme/__init__.py index 7678e7af0..a232832d5 100644 --- a/src/ansys_sphinx_theme/__init__.py +++ b/src/ansys_sphinx_theme/__init__.py @@ -6,7 +6,7 @@ from ansys_sphinx_theme.latex import generate_404 # noqa: F401 -__version__ = "0.9.4" +__version__ = "0.9.5" # Declare the fundamental paths of the theme From 03a24212bfdbc39dc83e45810e8ea3165e836ca8 Mon Sep 17 00:00:00 2001 From: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com> Date: Wed, 22 Feb 2023 15:55:25 +0100 Subject: [PATCH 2/9] FEAT: Bump version 0.10.dev0 (#209) --- src/ansys_sphinx_theme/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys_sphinx_theme/__init__.py b/src/ansys_sphinx_theme/__init__.py index a232832d5..ba09c1dc3 100644 --- a/src/ansys_sphinx_theme/__init__.py +++ b/src/ansys_sphinx_theme/__init__.py @@ -6,7 +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 From ec284ca5e76f611bf5f869dd4eedd39133a5432c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Mar 2023 14:02:15 +0100 Subject: [PATCH 3/9] Bump pydata-sphinx-theme from 0.12.0 to 0.13.0 (#222) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Revathyvenugopal162 --- pyproject.toml | 2 +- src/ansys_sphinx_theme/__init__.py | 3 ++- .../ansys_sphinx_theme/static/css/ansys_sphinx_theme.css | 5 +++++ src/ansys_sphinx_theme/theme/ansys_sphinx_theme/theme.conf | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2edc908b9..98fa0ea5b 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 ba09c1dc3..7b9f0d834 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 7dbf74611..be0b1b40a 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 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 = From b1bea7c75f1e312b882f5aefeb91b474e66f53c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Mar 2023 09:50:10 +0100 Subject: [PATCH 4/9] Bump pydata-sphinx-theme from 0.13.0 to 0.13.1 (#226) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Revathyvenugopal162 --- pyproject.toml | 2 +- src/ansys_sphinx_theme/__init__.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 98fa0ea5b..5ff561076 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ ] dependencies = [ "Sphinx>=4.2.0,<6", - "pydata-sphinx-theme==0.13.0", + "pydata-sphinx-theme==0.13.1", "Jinja2>=3.1.2", ] diff --git a/src/ansys_sphinx_theme/__init__.py b/src/ansys_sphinx_theme/__init__.py index 7b9f0d834..35c6539ed 100644 --- a/src/ansys_sphinx_theme/__init__.py +++ b/src/ansys_sphinx_theme/__init__.py @@ -83,7 +83,6 @@ def setup_default_html_theme_options(app): "navbar_end", ["version-switcher", "theme-switcher", "navbar-icon-links"] ) app.config.html_theme_options.setdefault("collapse_navigation", True) - app.config.html_theme_options.setdefault("icon_links", []) def setup(app: Sphinx) -> Dict: From 2b6e0939730d641914cc8879e71db3b8bc26ced5 Mon Sep 17 00:00:00 2001 From: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com> Date: Fri, 17 Mar 2023 15:30:59 +0100 Subject: [PATCH 5/9] FIX : formatting of version added admonition. (#224) Co-authored-by: Alex Kaszynski --- .../ansys_sphinx_theme/static/css/ansys_sphinx_theme.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 be0b1b40a..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 @@ -935,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{ From 40acaf1ba3cb1c166dab81868eef47e54c280d48 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Mar 2023 08:25:08 +0200 Subject: [PATCH 6/9] Bump pydata-sphinx-theme from 0.13.1 to 0.13.2 (#228) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5ff561076..6246b297b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ ] dependencies = [ "Sphinx>=4.2.0,<6", - "pydata-sphinx-theme==0.13.1", + "pydata-sphinx-theme==0.13.2", "Jinja2>=3.1.2", ] From 898cc4494a87b4d992027c242788691c92b5d30b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 31 Mar 2023 08:50:12 +0200 Subject: [PATCH 7/9] Bump pydata-sphinx-theme from 0.13.2 to 0.13.3 (#229) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6246b297b..a677a833d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ ] dependencies = [ "Sphinx>=4.2.0,<6", - "pydata-sphinx-theme==0.13.2", + "pydata-sphinx-theme==0.13.3", "Jinja2>=3.1.2", ] From b052f6c1bbb99407a56e1303f4f14cbf5d99323b Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Fri, 31 Mar 2023 11:24:08 +0200 Subject: [PATCH 8/9] VER: bump ansys-sphinx-theme 0.9.6 version --- src/ansys_sphinx_theme/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ansys_sphinx_theme/__init__.py b/src/ansys_sphinx_theme/__init__.py index 35c6539ed..41971bd68 100644 --- a/src/ansys_sphinx_theme/__init__.py +++ b/src/ansys_sphinx_theme/__init__.py @@ -8,7 +8,6 @@ __version__ = "0.9.6" - # Declare the fundamental paths of the theme THIS_PATH = pathlib.Path(__file__).parent.resolve() THEME_PATH = THIS_PATH / "theme" / "ansys_sphinx_theme" From dfbfa2de3b9faf18b1001837b585f46e5d5b669f Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Fri, 31 Mar 2023 11:54:07 +0200 Subject: [PATCH 9/9] VER: bump with actions v3 --- .github/workflows/ci_cd.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index ab4b2b23c..a8c9f1dce 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -89,15 +89,8 @@ jobs: runs-on: ubuntu-latest steps: - - name: "Release to the private PyPI repository" - uses: pyansys/actions/release-pypi-private@v4 - 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@v4 + uses: pyansys/actions/release-pypi-public@v3 with: library-name: ${{ env.PACKAGE_NAME }} twine-username: "__token__"