hdoc-tools 0.9.34 → 0.9.35

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-build.js CHANGED
@@ -632,7 +632,6 @@
632
632
 
633
633
  console.log(`Loading product families...`);
634
634
  const prods = await hdoc.load_product_families();
635
- console.log(prods)
636
635
  if (!prods.success) {
637
636
  console.log(`ERROR: Failed to load product families: ${prods.errors}\n`);
638
637
  process.exit(1);
@@ -738,7 +737,7 @@
738
737
  for (let i = 0; i < md_files.length; i++) {
739
738
  mdPromiseArray.push(md_files[i]);
740
739
  }
741
- const chunkSize = 10;
740
+ const chunkSize = 4;
742
741
  for (let i = 0; i < mdPromiseArray.length; i += chunkSize) {
743
742
  const chunk = mdPromiseArray.slice(i, i + chunkSize);
744
743
  // do whatever
package/hdoc-module.js CHANGED
@@ -411,7 +411,6 @@
411
411
  const prods = await axios.get('https://docs.hornbill.com/_books/products.json', {
412
412
  httpsAgent: agent
413
413
  });
414
- console.log(prods.status)
415
414
  if (prods.status === 200) {
416
415
  response.prod_families = prods.data;
417
416
  response.prods_supported = [];
package/hdoc-validate.js CHANGED
@@ -319,10 +319,7 @@
319
319
 
320
320
  exports.run = async function (source_path, doc_id, verbose, hdocbook_config, hdocbook_project, nav_items, prod_families, prods_supported) {
321
321
  console.log(`Performing Validation and Building SEO Link List...`);
322
-
323
- // Load product families
324
- await load_product_families();
325
-
322
+
326
323
  // Get a list of HTML files in source_path
327
324
  dree.scan(source_path, dreeOptions, fileCallback);
328
325
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.9.34",
3
+ "version": "0.9.35",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {