htmltest icon indicating copy to clipboard operation
htmltest copied to clipboard

IgnoreFiles config option

Open wjdp opened this issue 8 years ago • 3 comments
trafficstars

We have IgnoreDirs but should also allow ignoring files. Either:

  • Add IgnoreFiles config option. Messy when we need to wildcard match things, two implementations needed.
  • Combine the jobs of directory and file ignore, IgnorePaths, IgnoreDocs... do nice regex matching. Could be more work in code but provides a cleaner 'API'.

wjdp avatar Jan 26 '17 15:01 wjdp

+1 for this feature.

Use case: Trying to hide google verification files which are missing doctypes (because they're only one line). Workaround for now is to turn off the doctypes check, but would rather have that on for my other 400+ pages and just ignore the verification file.

thatsjet avatar Feb 14 '18 22:02 thatsjet

Trying to hide google verification files which are missing doctypes (because they're only one line)

Hah! I was trying to get this working just now for the same exact purpose: google verification files.

osterman avatar May 14 '18 20:05 osterman

For this particular issue, the better fix is to go to "alternative methods" and select "HTML tag" which gives you a meta tag to insert into the <head/> section of your templates.

osterman avatar May 14 '18 20:05 osterman