Skip to content

Feature/documentation update #613

Feature/documentation update

Feature/documentation update #613

Workflow file for this run

# build documentation
# Deploy of doc is configured from ReadTheDocs
name: Build docs for fmu-sumo
on:
pull_request:
branches: [main, docs]
push:
branches: [main, docs]
jobs:
build_pywheels:
name: Build docs with Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.10"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install and build docs
run: |
pip install pip -U && pip install wheel -U
pip install .[docs]
sphinx-build docs build/sphinx/html