Skip to content

Commit

Permalink
Host docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau committed Feb 27, 2024
1 parent 6e136c6 commit ab7c6aa
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy PR previews

on:
pull_request:

concurrency: preview-${{ github.ref }}

jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install and build
run: |
pip install -r requirements.txt
make html
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./_build/html
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_build/
9 changes: 8 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
sphinx-design
dask-sphinx-theme
dask-sphinx-theme>=3
sphinx
# FIXME: `sphinxcontrib-*` pins are a workaround until we have sphinx>=5.
# See https://github.com/dask/dask-sphinx-theme/issues/68.
sphinxcontrib-applehelp>=1.0.0,<1.0.7
sphinxcontrib-devhelp>=1.0.0,<1.0.6
sphinxcontrib-htmlhelp>=2.0.0,<2.0.5
sphinxcontrib-serializinghtml>=1.1.0,<1.1.10
sphinxcontrib-qthelp>=1.0.0,<1.0.7

0 comments on commit ab7c6aa

Please # to comment.