Skip to content

Commit 876788b

Browse files
authored
Because GitHub rate limits linkcheck, ignore checking hundreds of iss… (#1774)
* Because GitHub rate limits linkcheck, ignore checking hundreds of issue and pull request links * Fix switcher URL
1 parent 1a48d64 commit 876788b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,14 @@
8585
# Ignore pages that require authentication
8686
r"https://github.com/orgs/plone/teams/", # requires auth
8787
r"https://github.com/plone/documentation/issues/new", # requires auth
88-
r"https://github.com/plone/volto/issues/new", # requires auth
8988
r"https://opensource.org/", # requires auth
9089
# Ignore github.com pages with anchors
9190
r"https://github.com/.*#.*",
9291
# Ignore github.com searches
9392
r"https://github.com/search",
93+
# Ignore rate limiting by github.com
94+
r"https://github.com/plone/volto/issues",
95+
r"https://github.com/plone/volto/pull",
9496
# Ignore other specific anchors
9597
r"https://coveralls.io/repos/github/plone/plone.restapi/badge.svg\?branch=main", # plone.restapi
9698
r"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors#Identifying_the_issue",
@@ -243,7 +245,7 @@
243245
"repository_url": "https://github.com/plone/documentation",
244246
"search_bar_text": "Search",
245247
"switcher": {
246-
"json_url": "/_static/switcher.json",
248+
"json_url": "https://6.docs.plone.org/_static/switcher.json",
247249
"version_match": version,
248250
},
249251
"use_edit_page_button": True,

0 commit comments

Comments
 (0)