Skip to content

Commit

Permalink
ENH: Add documentation build GHA workflow file
Browse files Browse the repository at this point in the history
Add documentation build GHA workflow file.
  • Loading branch information
jhlegarreta committed Dec 5, 2024
1 parent 983e359 commit c444f69
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/doc_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build docs

on:
push:
branches:
- master
tags:
- 'v*'
pull_request:
branches:
- master

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install dependencies
run: |
python -m pip install --upgrade --user pip setuptools coverage
pip install .[doc]
- name: Build docs
run: |
make -C doc/ SPHINXOPTS="-W -v" BUILDDIR="$HOME/docs" OUTDIR="$HOME/html" html

0 comments on commit c444f69

Please sign in to comment.