Skip to content

Commit

Permalink
added lincheck inline
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Jan 5, 2025
1 parent 6ce4630 commit a4192ac
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/documentation_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down

0 comments on commit a4192ac

Please sign in to comment.