Skip to content

Commit b000ae8

Browse files
committed
Check anchors in linkcheck settings, while ignoring known failing pages.
1 parent fd8b6a5 commit b000ae8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/conf.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,16 @@
7171
r"http://localhost",
7272
r"http://0.0.0.0",
7373
r"http://127.0.0.1",
74-
r"https://www.linode.com/",
7574
r"https://github.com/plone/documentation/issues/new/choose", # requires auth
75+
# Ignore specific anchors
76+
r"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors#Identifying_the_issue",
77+
r"https://github.com/browserslist/browserslist#queries",
78+
r"https://github.com/plone/plone.docker#for-basic-usage",
79+
r"https://github.com/plone/plone.rest#cors",
7680
]
77-
linkcheck_anchors = True # Required for RazzleJS
81+
linkcheck_anchors = True
7882
linkcheck_timeout = 10
83+
linkcheck_retries = 2
7984

8085
# This is our wordlist with known words, like Github or Plone ...
8186
spelling_word_list_filename = "spelling_wordlist.txt"

0 commit comments

Comments
 (0)