Skip to content

Commit

Permalink
Add Github Action to build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan committed Jun 18, 2022
1 parent 24c4d63 commit 6bd6a3e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docs

on:
push:

jobs:
docs:
strategy:
matrix:
python-version:
- '3.10'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]
- name: Build documentation
run: |
sphinx-build -a -b html -W --keep-going docs/ docs/_build

0 comments on commit 6bd6a3e

Please sign in to comment.