Skip to content

Merge branch 'migrate-to-pyproject-toml' into 'main' #20

Merge branch 'migrate-to-pyproject-toml' into 'main'

Merge branch 'migrate-to-pyproject-toml' into 'main' #20

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
- master
- release/**
pull_request:
branches:
- main
- master
- release/**
jobs:
sphinx:
# -----------------------
# Generate the documentation
# -----------------------
name: Sphinx
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- name: Get source code
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install LIGOTimeGPS with docs extras
run: python -m pip install .[docs]
- name: Package list
run: python -m pip list installed
- name: Build documentation
run: python -m sphinx -b html -W -v --color docs/ _build/
- name: Upload documentation build
uses: actions/upload-artifact@v2
with:
name: docs
path: _build