Updated main action workflow + added doc workflow #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build docs | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Setup environment | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e ./python | |
pip install sphinx sphinx-rtd-theme myst-parser | |
- name: Build documentation | |
run: | | |
sphinx-build -M html ./docs ./docs/_build | |