Create docs.yaml
This commit is contained in:
parent
b933aacb9a
commit
9c2335c537
1 changed files with 24 additions and 0 deletions
24
.github/workflows/docs.yaml
vendored
Normal file
24
.github/workflows/docs.yaml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name: Documentation
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up latest Python
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: "*"
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip setuptools wheel
|
||||||
|
python -m pip install -e ".[d]"
|
||||||
|
python -m pip install -r "docs/requirements.txt"
|
||||||
|
|
||||||
|
- name: Build documentation
|
||||||
|
run: sphinx-build -a -b html -W --keep-going docs/ docs/_build
|
Loading…
Reference in a new issue