lib/nanoc/cli/commands/create-site.rb in nanoc-4.0.2 vs lib/nanoc/cli/commands/create-site.rb in nanoc-4.1.0a1

- old
+ new

@@ -89,9 +89,24 @@ # A list of patterns, specified as regular expressions, to exclude from the check. # If an internal link matches this pattern, the validity check will be skipped. # E.g.: # exclude: ['^/server_status'] exclude: [] + + # Configuration for the “external_links” checker, which checks whether all + # external links are valid. + external_links: + # A list of patterns, specified as regular expressions, to exclude from the check. + # If an external link matches this pattern, the validity check will be skipped. + # E.g.: + # exclude: ['^http://example.com$'] + exclude: [] + + # 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.: + # exclude_files: ['blog/page'] + exclude_files: [] EOS DEFAULT_RULES = <<EOS unless defined? DEFAULT_RULES #!/usr/bin/env ruby