Skip to content

bigger min timeout #322

bigger min timeout

bigger min timeout #322

name: Deploy Sphinx documentation to Pages
on:
push:
branches: [main]
# Cancel any in-progress job or run
concurrency:
group: gh-${{ github.ref }}
cancel-in-progress: true
jobs:
pages:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- id: deployment
uses: sphinx-notes/pages@v3
with:
documentation_path: docs/source
cache: true
env:
# Avoid installing CUDA-enabled PyTorch wheels (they are huge and unnecessary for docs builds).
# By making the PyTorch CPU wheel index the primary index, `pip install .[...]` will resolve
# `torch`/`torchvision` from there, while everything else is still fetched from PyPI.
PIP_INDEX_URL: https://download.pytorch.org/whl/cpu
PIP_EXTRA_INDEX_URL: https://pypi.org/simple