diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index be2085d7..4e0ff66c 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 @@ -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 }} @@ -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/.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 }} 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