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:
authorAchilleas Pipinellis <axil@gitlab.com>2018-10-18 14:56:16 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-10-18 14:56:16 +0300
commit182cd07a0d95df103f6f8f8f6b94163a50886e9c (patch)
tree747d12c7d564611d07f49a9554cd2b4727c47998
parent60a8193d847e0a448f162079048a3e0332a801cb (diff)
Exclude versioned links when checking for 404s
The versions links in the dropdown only work when run in production. In all other cases, the URLs do not exist and therefore Nanoc's internal link checking fails.
-rw-r--r--nanoc.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/nanoc.yaml b/nanoc.yaml
index d0d5365f..2fb2294a 100644
--- a/nanoc.yaml
+++ b/nanoc.yaml
@@ -79,7 +79,10 @@ checks:
# If an internal link matches this pattern, the validity check will be skipped.
exclude:
# Exclude major.minor versions that are used under /archives
- - '^/\d{1,2}\.\d{1,2}/$'
+ - '^/\d{1,2}\.\d{1,2}/'
+ # The versions dropdown for the archives is incorrect. Remove this
+ # when fixed.
+ - '\/archives.html'
# Exclude the extra links listed in the home page
- '\/ee\/user\/project\/import\/'
- '\/ee\/ci\/yaml\/'