@writedocs/generator 0.13.3 → 0.13.4

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/src/lib/config.ts CHANGED
@@ -449,7 +449,9 @@ function readDocsConfig(contentDir: string): DocsConfig {
449
449
  const result = validateDocsConfig(fs.readFileSync(configPath, 'utf-8'));
450
450
  if (!result.ok) {
451
451
  if (result.parseError) throw result.parseError;
452
- throw new Error(`[writedocs] writedocs.json failed validation:\n${formatValidationIssues(result.issues)}`);
452
+ throw new Error(
453
+ `[writedocs] writedocs.json failed validation:\n${formatValidationIssues(result.issues, { total: result.issuesTotal, truncated: result.issuesTruncated })}`
454
+ );
453
455
  }
454
456
  // A no-op pass over ordinary navigation trees (no openapi groups) -
455
457
  // always run, rather than gated behind a global manifest check, since