anchor.diff:  # File patterns
   # -------------
   
  -# Provide a name and a file pattern string (or block that returns a string) for
  -# each file pattern. These file patterns will be joined with base_dirs to
  -# get a Dir.glob pattern for matching the desired file set.
  +# Provide a name and a file pattern string for each file pattern.
  +# These file patterns will be joined with base_dirs to get a Dir.glob pattern
  +# for matching the desired file set.
  +#
  +# Conventions:
  +#  * Append '_file' or 'files' to the name so that it can be resolved unambiguously.
  +#  * File patterns do NOT include the leading '/'.
   
   file_pattern :all_files, '**/*'
   file_pattern :at_files, '**/*.at'
  
positive.code: Modify the DSL methods below to suit your repository layout.
  
  Base directories and file patterns are used in combination to specify file sets.
  The convention is to chain them together, separated by dots, just like Active
  Record scopes in rails:
  
  <base_dir>.<file_pattern>
  
  Examples:
  
  
negative.code: file_pattern :pt_files, '**/*.md'
  file_pattern :repositext_files, '**/*.{at,json,md,txt}'
  file_pattern :txt_files, '**/*.txt'
  file_pattern :validation_report_file, 'validation_report.txt'
  file_pattern :xml_files, '**/*.xml'
  
  # Kramdown Parsers
  # ----------------
  
  # Provide a name and a Parser's class name as string.
  
  kramdown_parser :folio_xml, 'Kramdown::Parser::Folio'
  kramdown_parser :idml,      'Kramdown::Parser::Idml'
  