hdoc-tools 0.8.43 → 0.8.45

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
@@ -256,7 +256,6 @@
256
256
  response.success = true;
257
257
  let commits = github_response.data;
258
258
  commits.forEach(function(commit){
259
- console.log(commit)
260
259
  if (commit.committer && commit.committer.type && commit.committer.type.toLowerCase() === 'user' && commit.committer.login.toLowerCase() !== 'web-flow') {
261
260
  if (!contributors[commit.committer.id]) {
262
261
  response.contributor_count++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.8.43",
3
+ "version": "0.8.45",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {
@@ -307,9 +307,16 @@ function loadContentUrl(linkRef,fromPageRefresh,fromPopState)
307
307
 
308
308
 
309
309
  //-- do any code highlighting
310
- document.querySelectorAll('pre code').forEach((el) => {
311
- hljs.highlightBlock(el);
312
- });
310
+ if(hljs)
311
+ {
312
+ document.querySelectorAll('pre code').forEach((el) => {
313
+ hljs.highlightBlock(el);
314
+ });
315
+ }
316
+ else
317
+ {
318
+ console.log("code highlighting js could not be loaded. code block highlighting will not be enabled");
319
+ }
313
320
 
314
321
  //-- show copy button by any code blocks
315
322
  var options = {
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 Hornbill Docs
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,13 +0,0 @@
1
- name: HDocBuildPush
2
- on:
3
- # Triggers the workflow on push requests
4
- push:
5
- paths-ignore:
6
- - '.github/**'
7
-
8
- # Allows us to run this workflow manually from the Actions tab
9
- workflow_dispatch:
10
-
11
- jobs:
12
- run-shared-push-validation:
13
- uses: Hornbill-Docs/hdoc-library/.github/workflows/hdocbuild_shared_push.yml@8c43ee2385d364537ecee64b9860869efc73766c