Skip to content

Update pull-request.yml #1

Update pull-request.yml

Update pull-request.yml #1

Workflow file for this run

name: "Sphinx checks on pull-request"
on:
- push
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