Skip to content

Commit

Permalink
remove link anchor checks for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
aarontp committed Apr 24, 2024
1 parent 0ef8a4c commit a153753
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@
# Adding retries to linkchecks before declaring a link broken
linkcheck_retries = 3

# linkcheck loads pages without using javascript so many github pages will not
# load all the content and thus the anchors will not be present and tests will
# fail so disabling anchor checks for all github pages (the page itself will
# still be checked to ensure it exists though).
linkcheck_anchors_ignore_for_url = [
'https://github.com/',
]

# Output file base name for HTML help builder.
htmlhelp_basename = 'turbiniadoc'

Expand Down

0 comments on commit a153753

Please sign in to comment.