From a4192acac966f051d53140d7fdc2bff5faf2fffb Mon Sep 17 00:00:00 2001 From: shimwell Date: Sun, 5 Jan 2025 14:33:34 +0100 Subject: [PATCH] added lincheck inline --- .github/workflows/documentation_update.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/documentation_update.yml b/.github/workflows/documentation_update.yml index e0b4a78f..3cc1df72 100644 --- a/.github/workflows/documentation_update.yml +++ b/.github/workflows/documentation_update.yml @@ -40,26 +40,20 @@ jobs: run: | python -m pip install .[docs] - - name: Check URL links in the docs - shell: bash -el {0} - run: | - cd docs - make linkcheck - - name: Sphinx build tagged version if: startsWith(github.ref, 'refs/tags/') run: | sphinx-build docs _build/${{ github.ref_name }} rm -rf _build/stable mkdir -p _build/stable - sphinx-build docs _build/stable + sphinx-build linkcheck docs _build/stable - name: Sphinx build dev version if: (github.event_name == 'push' || github.event_name == 'pull_request') && !startsWith(github.ref, 'refs/tags/') run: | rm -rf _build/dev mkdir -p _build/dev - sphinx-build docs _build/dev + sphinx-build linkcheck docs _build/dev - name: Deploy docs to GitHub Pages if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/')