[7823dd]: / .github / workflows / doc_build.yml

Download this file

29 lines (22 with data), 626 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
name: "Pull Request Docs Check"
on:
- pull_request
- push
jobs:
docs:
runs-on: ubuntu-20.04
steps:
- name: Install openslide-tools
run: sudo apt-get install openslide-tools
# - name: Install openslide-python
# run: sudo apt-get install python-openslide
- uses: actions/checkout@v1
- uses: ammaraskar/sphinx-action@0.4
with:
pre-build-command: python -m pip install sphinx-rtd-theme sphinx-autodoc-typehints
docs-folder: "doc/"
- uses: actions/upload-artifact@v1
with:
name: DocumentationHTML
path: doc/build/html/
if: success()