Skip to content

Commit

Permalink
Add workflow to generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed May 7, 2021
1 parent 45f3830 commit 46ee4d0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/generate_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: docs
on: [push, pull_request]


jobs:
build-docs:
name: Build and generate docs
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Build docs
run: |
- pip install --upgrade -r requirements_docs.txt
- pip install --upgrade .[all]
- mkdir docs_build
- sphinx-build -nW -b html docs docs_build

0 comments on commit 46ee4d0

Please sign in to comment.