hdoc-tools 0.8.38 → 0.8.40

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-module.js CHANGED
@@ -251,7 +251,7 @@
251
251
  let commits = github_response.getBody('UTF8');
252
252
  commits = JSON.parse(commits);
253
253
  commits.forEach(function(commit){
254
- if (commit.committer.type.toLowerCase() === 'user' && commit.committer.login.toLowerCase() !== 'web-flow') {
254
+ if (commit.committer && commit.committer.type && commit.committer.type.toLowerCase() === 'user' && commit.committer.login.toLowerCase() !== 'web-flow') {
255
255
  if (!contributors[commit.committer.id]) {
256
256
  response.contributor_count++;
257
257
  contributors[commit.committer.id] = {
package/hdoc.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  (async function () {
3
3
  'use strict';
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.8.38",
3
+ "version": "0.8.40",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {
@@ -1,3 +1,10 @@
1
1
  {
2
- "docId": "hdoc-guide"
2
+ "docId": "hdoc-guide",
3
+ "pdfGeneration": {
4
+ "enable": true,
5
+ "exclude_paths": []
6
+ },
7
+ "validation": {
8
+ "exclude_links": []
9
+ }
3
10
  }
package/ui/index.html CHANGED
@@ -251,7 +251,7 @@
251
251
  </div>
252
252
  <div v-if="docApp.tableOfContents.length" class="panel-content">
253
253
  <div v-for="tocItem in docApp.tableOfContents" v-bind:class="{'ms-3':tocItem.tagName=='H3'}">
254
- <a :href="tocItem.href">{{tocItem.eleText}} {{tocItem.tagName}}</a>
254
+ <a :href="tocItem.href">{{tocItem.eleText}}</a>
255
255
  </div>
256
256
  </div>
257
257
  </div>