Skip to content

Commit

Permalink
actions: Sphinx-build action
Browse files Browse the repository at this point in the history
with nit-picky modeand turn warnings into errors

#19
  • Loading branch information
Jared Parnell authored and odscjames committed Dec 1, 2022
1 parent a4e0aad commit e124f6b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/sphinx-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Sphinx Build
on: [push, pull_request]

jobs:
linkcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.9
architecture: x64
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
- run: pip install -r requirements.txt
- run: cd ./docs/ && sphinx-build -nW . ./temp_build

0 comments on commit e124f6b

Please sign in to comment.