web-documentation 1.0.22 → 1.0.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-documentation",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "Declarative multilanguage documentation website generator",
5
5
  "keywords": [
6
6
  "documentation",
package/source/deploy.ts CHANGED
@@ -574,12 +574,15 @@ const main = async (): Promise<void> => {
574
574
  HAS_API_DOCUMENTATION =
575
575
  Boolean(SCOPE.scripts) &&
576
576
  Object.prototype.hasOwnProperty.call(SCOPE.scripts, 'document')
577
- if (HAS_API_DOCUMENTATION)
577
+ if (HAS_API_DOCUMENTATION) {
578
+ log.info('API documentation creation script detected.')
578
579
  try {
579
580
  log.debug(run('yarn document'))
580
- } catch {
581
+ } catch (error) {
582
+ log.error(error)
581
583
  HAS_API_DOCUMENTATION = false
582
584
  }
585
+ }
583
586
 
584
587
  log.debug(run('git checkout gh-pages'))
585
588
  log.debug(run('git pull'))