Skip to content

Commit

Permalink
Add GHA for docs building
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Tobar <[email protected]>
  • Loading branch information
rtobar committed Jul 11, 2024
1 parent 0a42820 commit e80ccc7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build documentation
on: [push, pull_request]
env:
SPHINXOPTS: -W --keep going

jobs:
build-docs:
name: Build documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install system dependencies
run: sudo apt install -y doxygen
- name: Install python dependencies
run: pip install -r docs/requirements.txt
- name: Build documentation
run: make html -C docs SPHINXOPTS=$SPHINXOPTS

0 comments on commit e80ccc7

Please sign in to comment.