-
Notifications
You must be signed in to change notification settings - Fork 30
42 lines (39 loc) · 1.1 KB
/
pull-request.yml
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
33
34
35
36
37
38
39
40
41
42
name: "Sphinx checks on pull-request"
on:
- pull_request
jobs:
build_docs:
runs-on: ubuntu-latest
steps:
- name: checkout source code
uses: actions/checkout@v2
- name: install sphinx
run: pip3 install -U sphinx
- name: install sphinxext-rediraffe
run: pip3 install sphinxext-rediraffe
- name: build docs
run: sphinx-build -b html -E -W --keep-going . _build/html
linkcheck:
runs-on: ubuntu-latest
steps:
- name: checkout source code
uses: actions/checkout@v2
- name: install sphinx
run: pip3 install -U sphinx
- name: install sphinxext-rediraffe
run: pip3 install sphinxext-rediraffe
- name: check links
run: make linkcheck
rediraffecheck:
runs-on: ubuntu-latest
steps:
- name: checkout source code
uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: install sphinx
run: pip3 install -U sphinx
- name: install sphinxext-rediraffe
run: pip3 install sphinxext-rediraffe
- name: check redirects
run: sphinx-build -b rediraffecheckdiff . _build/rediraffe