Resolve latest linkcheck issues #473 #198
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |