From 9c9d8baebc1e00f56611199fa293bb0380222384 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 28 Sep 2023 07:51:34 +0000 Subject: [PATCH 1/3] Bump sphinx-gallery from 0.13.0 to 0.14.0 in /requirements (#142) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci_cd.yml | 6 +++--- doc/source/conf.py | 11 ++++++++++- doc/source/links.rst | 2 +- requirements/requirements_doc.txt | 2 +- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index be2085d7..a40f1098 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -32,7 +32,7 @@ jobs: name: Code style runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: @@ -66,7 +66,7 @@ jobs: steps: - name: "Install Git and checkout project" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Set up Python using cache" uses: actions/setup-python@v4 @@ -222,7 +222,7 @@ jobs: needs: [style, doc-build] #docs-style runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v3 diff --git a/doc/source/conf.py b/doc/source/conf.py index 5342aace..24e7f641 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -146,7 +146,11 @@ # must be less than or equal to the XVFB window size -pyvista.rcParams["window_size"] = np.array([1024, 768]) +try: + pyvista.global_theme.window_size = np.array([1024, 768]) +except AttributeError: + # for compatibility with pyvista < 0.40 + pyvista.rcParams["window_size"] = np.array([1024, 768]) # Save figures in specified directory pyvista.FIGURE_PATH = os.path.join(os.path.abspath("./images/"), "auto-generated/") @@ -184,3 +188,8 @@ # Read link all targets from file with open("links.rst") as f: rst_epilog += f.read() + +# ignore some link checks +linkcheck_ignore = [ + "https://ansyshelp.ansys.com/*", +] diff --git a/doc/source/links.rst b/doc/source/links.rst index 3ea0fa28..397c2b6e 100644 --- a/doc/source/links.rst +++ b/doc/source/links.rst @@ -4,7 +4,7 @@ .. #Other projects .. _dpf_post_docs: https://post.docs.pyansys.com/ -.. _matplotlib_org: _https://matplotlib.org/ +.. _matplotlib_org: https://matplotlib.org/ .. _pandas_org: https://pandas.pydata.org/ .. _precommit: https://pre-commit.com/ .. _pypi_org: https://pypi.org/ diff --git a/requirements/requirements_doc.txt b/requirements/requirements_doc.txt index faf00e4a..9263967d 100644 --- a/requirements/requirements_doc.txt +++ b/requirements/requirements_doc.txt @@ -16,7 +16,7 @@ sphinx-copybutton==0.5.2 jupyter_sphinx==0.4.0 jupyterlab>=3.2.8 sphinxemoji==0.2.0 -sphinx-gallery==0.13.0 +sphinx-gallery==0.14.0 sphinx-autobuild==2021.3.14 sphinx-autodoc-typehints==1.24.0 sphinx-notfound-page==0.8.3 From 1bd96f5e2a754ca0d4f37f295926d012e3efa822 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 14:32:54 +0200 Subject: [PATCH 2/3] Bump docker/login-action from 2.2.0 to 3.0.0 (#155) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci_cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index a40f1098..4e0ff66c 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -89,7 +89,7 @@ jobs: xvfb-run python .ci/display_test.py - name: Login in Github Container registry - uses: docker/login-action@v2.2.0 + uses: docker/login-action@v3.0.0 with: registry: ghcr.io username: ${{ github.actor }} From 03366eebc1e89796ea1c7c05d640d177bd44477a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 12:34:07 +0000 Subject: [PATCH 3/3] Bump actions/checkout from 3 to 4 (#152) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 5b1af061..a374315b 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -16,7 +16,7 @@ jobs: name: Syncer runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: micnncim/action-label-syncer@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}