Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2020-06-30 12:03:47 +0300
committerMarcel Amirault <mamirault@gitlab.com>2020-06-30 12:03:47 +0300
commit74a46b0e0bcb291c2e31e708444f37680d0342c2 (patch)
treed2f853c66ee634c03e2e1cc292f44c3b27df1ca5 /nanoc.yaml
parent3db9ceea21f2cbe2ba6bacd2f4c7e362780c4de5 (diff)
Exclude gitlab.com links from link checks
Diffstat (limited to 'nanoc.yaml')
-rw-r--r--nanoc.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/nanoc.yaml b/nanoc.yaml
index bb0548dd..14e78b9f 100644
--- a/nanoc.yaml
+++ b/nanoc.yaml
@@ -107,7 +107,10 @@ checks:
- 'https?:\/\/\w*\.example\.com.*'
- 'https?:\/\/localhost.*'
- 'https?:\/\/127.0.0.1.*'
-
+ # Don't check gitlab.com links due to cloudflare thinking the link test is a dos attack
+ # Temporary solution to enable external link checker
+ - 'https:\/\/gitlab.com\/.*'
+
# A list of file patterns, specified as regular expressions, to exclude from the check.
# If a file matches this pattern, the links from this file will not be checked.
# E.g.: