Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link checks #464

Merged
merged 1 commit into from
Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ jobs:
. env/bin/activate
make -C docs/ doctest

- run:
name: Test links
command: |
. env/bin/activate
make -C docs/ linkcheck

pypi-deploy:
docker:
- image: circleci/python:3.7
Expand Down
1 change: 1 addition & 0 deletions docs/CONTRIBUTING.rst
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ['sdk_index.rst']

linkcheck_retries = 2
linkcheck_anchors = False
linkcheck_ignore = [r'https://cloud.dwavesys.com/leap', # redirects, many checks
]

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

Expand Down