Changed version to 1.2.0 instead of 1.1.1 #4
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: Test building docs | |
on: | |
push: | |
branches-ignore: | |
- 'main' | |
paths: | |
- 'docs/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build documentation | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
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: Render | |
run: | | |
sphinx-build -M html ./docs ./docs/_build | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: "./docs/_build/html" |