Skip to content

Commit e5261a1

Browse files
authored
Merge pull request plone#1195 from plone/test-linkcheck_anchors
Resolve the broken links
2 parents 7268e39 + 46c950e commit e5261a1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/conf.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,19 @@
7171
r"http://localhost",
7272
r"http://0.0.0.0",
7373
r"http://127.0.0.1",
74-
r"https://www.linode.com/",
74+
r"https://www.linode.com",
7575
r"https://github.com/plone/documentation/issues/new/choose", # requires auth
76+
# Ignore specific anchors
77+
r"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors#Identifying_the_issue",
78+
r"https://github.com/browserslist/browserslist#queries",
79+
r"https://github.com/plone/plone.docker#for-basic-usage",
80+
r"https://github.com/plone/plone.rest#cors",
81+
r"https://github.com/plone/plone.volto/blob/6f5382c74f668935527e962490b81cb72bf3bc94/src/kitconcept/volto/upgrades.py#L6-L54",
82+
r"https://github.com/tc39/proposals/blob/HEAD/finished-proposals.md#finished-proposals",
7683
]
77-
linkcheck_anchors = False
84+
linkcheck_anchors = True
7885
linkcheck_timeout = 10
86+
linkcheck_retries = 2
7987

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

0 commit comments

Comments
 (0)