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 15:09:07 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-10-18 15:09:07 +0300
commitbb7cf0d9dd6aee66a4c653a7065f203a65df1544 (patch)
tree747d12c7d564611d07f49a9554cd2b4727c47998
parent60a8193d847e0a448f162079048a3e0332a801cb (diff)
parent182cd07a0d95df103f6f8f8f6b94163a50886e9c (diff)
Merge branch 'internal-links-fix' into 'master'
Exclude versioned links when checking for 404s See merge request gitlab-com/gitlab-docs!342
-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\/'