diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-10-18 14:56:16 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-10-18 14:56:16 +0300 |
commit | 182cd07a0d95df103f6f8f8f6b94163a50886e9c (patch) | |
tree | 747d12c7d564611d07f49a9554cd2b4727c47998 /nanoc.yaml | |
parent | 60a8193d847e0a448f162079048a3e0332a801cb (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.
Diffstat (limited to 'nanoc.yaml')
-rw-r--r-- | nanoc.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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\/' |