Skip to content

Commit

Permalink
Add documentation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Apr 7, 2022
1 parent c09e364 commit 0afacb0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Documentation (no publish)

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./doc/requirements.txt
- name: Build documentation
run: |
python -m sphinx -T -E -b html -d _build/doctrees -D language=en ./doc _build/html

0 comments on commit 0afacb0

Please sign in to comment.