hdoc-tools 0.26.1 → 0.26.3

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.
Files changed (2) hide show
  1. package/hdoc-validate.js +3 -8
  2. package/package.json +1 -1
package/hdoc-validate.js CHANGED
@@ -527,14 +527,9 @@ const e = require("express");
527
527
  continue;
528
528
  }
529
529
 
530
- if (
531
- ( links[i].toLowerCase().includes("docs.hornbill.com") ||
532
- links[i].toLowerCase().includes("docs-internal.hornbill.com")
533
- ) &&
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")
530
+ if (
531
+ links[i].toLowerCase().includes("docs.hornbill.com") ||
532
+ links[i].toLowerCase().includes("docs-internal.hornbill.com")
538
533
  ) {
539
534
  const error_message = processErrorMessage(`Hornbill Docs links should not be fully-qualified: ${links[i]}`, markdown_paths.relativePath, markdown_content, links[i]);
540
535
  errors[htmlFile.relativePath].push( error_message );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.26.1",
3
+ "version": "0.26.3",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {