Merge pull request #151 from boschresearch/docs-improvements #279
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: Documentation | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
schedule: | |
- cron: "0 12 * * 0" | |
jobs: | |
docsbuild: | |
name: Build documentation | |
runs-on: ubuntu-latest | |
env: | |
MPLBACKEND: svg | |
PYDEVD_DISABLE_FILE_VALIDATION: 1 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U setuptools setuptools_scm wheel | |
pip install -e .[all,docs] | |
pip install -e ./tools/odbclient | |
sudo apt-get install pandoc | |
- name: Build docs | |
run: sphinx-build -b html docs _build/html |