diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 55a5aaf22..bcc2309b6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -76,9 +76,9 @@ jobs: if: ${{ inputs.version == '' }} - run: python -m sphinx -W -v -b doctest -d doctrees docs html - run: python -m sphinx -W -v -b html -d doctrees docs html - - run: find html -type f -name "*.ipynb" -not -path "html/_sources/*" -delete - - run: tox -e linkcheck + - run: python -m sphinx -W -v -b linkcheck -d doctrees docs html if: ${{ inputs.linkcheck }} + - run: find html -type f -name "*.ipynb" -not -path "html/_sources/*" -delete - uses: actions/upload-artifact@v4 with: name: docs_html