-
Notifications
You must be signed in to change notification settings - Fork 8
32 lines (30 loc) · 849 Bytes
/
sphinx.yml
File metadata and controls
32 lines (30 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Sphinx
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Datasketches and Sphinx
run: python -m pip install . sphinx sphinx-rtd-theme
- name: Run Sphinx
run: cd docs; make html
- name: Pages Deployment
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html
destination_dir: docs/${{ github.ref_name }}
enable_jekyll: false
allow_empty_commit: false
force_orphan: false
publish_branch: gh-pages