Skip to content

Commit

Permalink
Added workflow for #543/sphinx-build to validate links and nit-picky
Browse files Browse the repository at this point in the history
  • Loading branch information
comrumino committed Oct 12, 2023
1 parent 8f54526 commit 6206f79
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/sphinx-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Docs Check and Build"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
docs-linkcheck-nitpicky:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install Dependencies
run: |
pip install docs/requirements.txt
- name: Build linkcheck with nit-picky mode
working-directory: docs
run: |
sphinx-build -W --keep-going -b linkcheck -n -d _build/doctrees . _build/linkcheck

0 comments on commit 6206f79

Please sign in to comment.