From 6df4662648ad78a8cd63855f4ae283a8409b5a60 Mon Sep 17 00:00:00 2001 From: Didier Divinerites Date: Sun, 23 May 2021 18:26:42 +0200 Subject: [PATCH] Update README with IgnoreInternalURLs --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 86aec62..85dd6b0 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,7 @@ htmltest uses a YAML configuration file. Put `.htmltest.yml` in the same directo | `EnforceHTML5` | Fails when the doctype isn't ``. | `false` | | `EnforceHTTPS` | Fails when encountering an `http://` link. Useful to prevent mixed content errors when serving over HTTPS. | `false` | | `IgnoreURLs` | Array of regexs of URLs to ignore. | empty | +| `IgnoreInternalURLs` | Array of strings of Internal URLs to ignore. | empty | | `IgnoreDirs` | Array of regexs of directories to ignore when scanning for HTML files. | empty | | `IgnoreInternalEmptyHash` | When true prevents raising an error for links with `href="#"`. | `false` | | `IgnoreEmptyHref` | When true prevents raising an error for links with `href=""`. | `false` | @@ -188,6 +189,8 @@ DirectoryPath: "_site" EnforceHTTPS: true IgnoreURLs: - "example.com" +IgnoreInternalURLs: +- "/misc/js/script.js" IgnoreDirs: - "lib" CacheExpires: "6h"