Skip to content

Commit bb15620

Browse files
committed
Doc-Builder: Add docs.github.com url to ignore list
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 ``` - github/docs#17358
1 parent cd9e63c commit bb15620

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

images/docs-builder/links_ignorelist.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"ignorePatterns": [
33
{ "pattern": "^https://api.crc.testing" },
44
{ "pattern": "^http://api.crc.testing" },
5+
{ "pattern": "^https://docs.github.com/.*$" },
56
{ "pattern": "https://console-openshift-console.apps-crc.testing" },
67
{ "pattern": "http://proxy.example.com" }
78
]

0 commit comments

Comments
 (0)