hdoc-tools 0.26.0 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hdoc-validate.js +4 -2
- package/package.json +1 -1
package/hdoc-validate.js
CHANGED
@@ -531,8 +531,10 @@ const e = require("express");
|
|
531
531
|
( links[i].toLowerCase().includes("docs.hornbill.com") ||
|
532
532
|
links[i].toLowerCase().includes("docs-internal.hornbill.com")
|
533
533
|
) &&
|
534
|
-
|
535
|
-
|
534
|
+
links[i].toLowerCase() !== ("https://docs-internal.hornbill.com/") &&
|
535
|
+
links[i].toLowerCase() !== ("https://docs-internal.hornbill.com") &&
|
536
|
+
links[i].toLowerCase() !== ("https://docs.hornbill.com/") &&
|
537
|
+
links[i].toLowerCase() !== ("https://docs.hornbill.com")
|
536
538
|
) {
|
537
539
|
const error_message = processErrorMessage(`Hornbill Docs links should not be fully-qualified: ${links[i]}`, markdown_paths.relativePath, markdown_content, links[i]);
|
538
540
|
errors[htmlFile.relativePath].push( error_message );
|