htmltest
htmltest copied to clipboard
IgnoreFiles config option
We have IgnoreDirs but should also allow ignoring files. Either:
- Add
IgnoreFilesconfig 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'.
+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.
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.
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.