Skip to content

modernize project config, move to pyproject.toml #515

modernize project config, move to pyproject.toml

modernize project config, move to pyproject.toml #515

Workflow file for this run

name: Build docs
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Build
run: |
pip install -U -r docs/requirements.txt
pip install ".[fsspec]"
sphinx-build docs dist/site -b dirhtml -a
- name: Publish
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist/site