Skip to content

Merge pull request #45 from pmlmodelling/41-docs_errors #18

Merge pull request #45 from pmlmodelling/41-docs_errors

Merge pull request #45 from pmlmodelling/41-docs_errors #18

Workflow file for this run

name: Docs
on:
push:
branches:
- main
- 39-read-the-docs
pull_request:
branches:
- main
workflow_dispatch:
jobs:
sphinx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: doc/requirements.txt
- name: Install Pandoc
run: |
sudo apt-get update
sudo apt-get install -y pandoc
- name: Install documentation dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r doc/requirements.txt
- name: Build documentation
run: |
python -m sphinx -W -b html doc/source doc/build/html