added turbing ig and moved the static files to the top-level directory #1
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 Sphinx Docs for Turbine UG | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'docs/turbine_ug/**' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'docs/turbine_ug/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install sphinx | |
pip install -r docs/turbine_ug/requirements.txt | |
- name: Build documentation | |
run: | | |
cd docs/turbine_ug | |
make html | |
- name: Upload HTML | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Sphinx-HTML | |
path: docs/turbine_ug/_build/html |