From bb156205a549d5fb66e124cb04e06e6f7980e6e7 Mon Sep 17 00:00:00 2001 From: Praveen Kumar Date: Thu, 28 Apr 2022 12:13:14 +0530 Subject: [PATCH] Doc-Builder: Add docs.github.com url to ignore list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This pr try to solve following issue by adding docs.github.com to ignore list. ``` FILE: ./source/topics/proc_troubleshooting-unknown-issues.adoc [✓] https://github.com/code-ready/crc/issues [✓] https://github.com/code-ready/crc/issues/new [✖] https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files 3 links checked. ERROR: 1 dead links found! [✖] https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files → Status: 403 make: *** [Makefile:138: docs_check_links] Error 123 ``` ``` $ curl -I https://docs.github.com HTTP/2 403 x-azure-ref: 0fzhqYgAAAAA4TNP/TuUcR6h8UmZoI8OxRFhCMzBFREdFMDIxNQA1OTZkNzhhMi1jYTVmLTQ3OWQtYmNkYy0wODM1ODMzMTc0YjI= accept-ranges: bytes date: Thu, 28 Apr 2022 06:47:27 GMT via: 1.1 varnish x-served-by: cache-maa10249-MAA x-cache: MISS x-cache-hits: 0 x-timer: S1651128448.577384,VS0,VE51 strict-transport-security: max-age=31557600 ``` - https://github.com/github/docs/issues/17358 --- images/docs-builder/links_ignorelist.json | 1 + 1 file changed, 1 insertion(+) diff --git a/images/docs-builder/links_ignorelist.json b/images/docs-builder/links_ignorelist.json index b2f6bd01ed..ad6348ef44 100644 --- a/images/docs-builder/links_ignorelist.json +++ b/images/docs-builder/links_ignorelist.json @@ -2,6 +2,7 @@ "ignorePatterns": [ { "pattern": "^https://api.crc.testing" }, { "pattern": "^http://api.crc.testing" }, + { "pattern": "^https://docs.github.com/.*$" }, { "pattern": "https://console-openshift-console.apps-crc.testing" }, { "pattern": "http://proxy.example.com" } ]