hdoc-tools 0.11.6 → 0.11.7

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.
@@ -1,20 +1,20 @@
1
- <style>
2
- .wrap {
3
- width: 100%;
4
- text-align: center;
5
- display:flex;
6
- justify-content:center;
7
- margin-right: 40px;
8
- margin-left: 40px;
9
- }
10
-
11
- .wrap h6 {
12
- float: left;
13
- font-size: 10px;
14
- margin-bottom: 6px;
15
- }
16
- </style>
17
-
18
- <div class="wrap">
19
- <h6><span class="pageNumber"></span> of <span class="totalPages"></span></h6>
1
+ <style>
2
+ .wrap {
3
+ width: 100%;
4
+ text-align: center;
5
+ display:flex;
6
+ justify-content:center;
7
+ margin-right: 40px;
8
+ margin-left: 40px;
9
+ }
10
+
11
+ .wrap h6 {
12
+ float: left;
13
+ font-size: 10px;
14
+ margin-bottom: 6px;
15
+ }
16
+ </style>
17
+
18
+ <div class="wrap">
19
+ <h6><span class="pageNumber"></span> of <span class="totalPages"></span></h6>
20
20
  </div>
@@ -1,38 +1,38 @@
1
- <style>
2
- .header {
3
- width: 100%;
4
- height: 60px;
5
- position: relative;
6
- margin-left: 28px;
7
- margin-right: 28px;
8
- margin-bottom: 20px;
9
- margin-top: -5px;
10
- }
11
-
12
- .header img {
13
- width: 140px;
14
- margin-right: 5px;
15
- margin-top: 6px;
16
- margin-bottom: 12px;
17
- float: right;
18
- }
19
-
20
- .header h3 {
21
- font-size: 12px;
22
- font-weight: light;
23
- margin-left: 5px;
24
- float: left;
25
- margin-top: 10px;
26
- }
27
- .header hr {
28
- border: none;
29
- border-top: 1px solid rgba(60, 60, 60, 0.29);
30
- }
31
- </style>
32
-
33
- <div class="header">
34
- <img src="{{hb_logo}}" />
35
- <h3>{{book_title}}</h3>
36
- <div style="clear: both;"></div>
37
- <hr/>
1
+ <style>
2
+ .header {
3
+ width: 100%;
4
+ height: 60px;
5
+ position: relative;
6
+ margin-left: 28px;
7
+ margin-right: 28px;
8
+ margin-bottom: 20px;
9
+ margin-top: -5px;
10
+ }
11
+
12
+ .header img {
13
+ width: 140px;
14
+ margin-right: 5px;
15
+ margin-top: 6px;
16
+ margin-bottom: 12px;
17
+ float: right;
18
+ }
19
+
20
+ .header h3 {
21
+ font-size: 12px;
22
+ font-weight: light;
23
+ margin-left: 5px;
24
+ float: left;
25
+ margin-top: 10px;
26
+ }
27
+ .header hr {
28
+ border: none;
29
+ border-top: 1px solid rgba(60, 60, 60, 0.29);
30
+ }
31
+ </style>
32
+
33
+ <div class="header">
34
+ <img src="{{hb_logo}}" />
35
+ <h3>{{book_title}}</h3>
36
+ <div style="clear: both;"></div>
37
+ <hr/>
38
38
  </div>
@@ -1,21 +1,21 @@
1
- <!DOCTYPE html>
2
- <html>
3
-
4
- <head>
5
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css" />
6
- <link rel="stylesheet"
7
- href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/base16/humanoid-light.min.css">
8
- <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
9
- </head>
10
-
11
- <body>
12
- {{document_content}}
13
- </body>
14
- <script type="text/javascript">
15
-
16
- // Using highlightAll method to
17
- // highlight the code
18
- hljs.highlightAll();
19
- </script>
20
-
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css" />
6
+ <link rel="stylesheet"
7
+ href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/base16/humanoid-light.min.css">
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
9
+ </head>
10
+
11
+ <body>
12
+ {{document_content}}
13
+ </body>
14
+ <script type="text/javascript">
15
+
16
+ // Using highlightAll method to
17
+ // highlight the code
18
+ hljs.highlightAll();
19
+ </script>
20
+
21
21
  </html>
@@ -1,13 +1,13 @@
1
- <div class="document-header">
2
-
3
- <h1>{{title}}</h1>
4
-
5
- <div class="hb-container-horizontal">
6
- <div class="hb-center-v hb-container-expand">
7
- <ul class="ps-0 nav-bar-nav-list noeffects after-bullets overflow-ellipsis text-light-2">
8
- <li class="ps-0 mt-0 nav-bar-item">{{doc-type}}</li>
9
- <li class="ps-0 mt-0 nav-bar-item">{{reading-time}} minutes to read</li>
10
- </ul>
11
- </div>
12
- </div>
1
+ <div class="document-header">
2
+
3
+ <h1>{{title}}</h1>
4
+
5
+ <div class="hb-container-horizontal">
6
+ <div class="hb-center-v hb-container-expand">
7
+ <ul class="ps-0 nav-bar-nav-list noeffects after-bullets overflow-ellipsis text-light-2">
8
+ <li class="ps-0 mt-0 nav-bar-item">{{doc-type}}</li>
9
+ <li class="ps-0 mt-0 nav-bar-item">{{reading-time}} minutes to read</li>
10
+ </ul>
11
+ </div>
12
+ </div>
13
13
  </div>
@@ -1,17 +1,17 @@
1
- <div class="document-header">
2
-
3
- <h1>{{title}}</h1>
4
-
5
- <div class="hb-container-horizontal">
6
- <div class="hb-center-v hb-container-expand">
7
- <ul class="ps-0 nav-bar-nav-list noeffects after-bullets overflow-ellipsis text-light-2">
8
- <li class="ps-0 mt-0 nav-bar-item">{{doc-type}}</li>
9
- <li class="ps-0 mt-0 nav-bar-item">{{last-update}}</li>
10
- <li class="ps-0 mt-0 nav-bar-item">{{reading-time}} minutes to read</li>
11
- <li class="ps-0 mt-0 nav-bar-item">
12
- <a class="link c-pointer" data-bs-toggle="modal" data-bs-target="#contributersModal">{{contributor-count}} contributors</a>
13
- </li>
14
- </ul>
15
- </div>
16
- </div>
1
+ <div class="document-header">
2
+
3
+ <h1>{{title}}</h1>
4
+
5
+ <div class="hb-container-horizontal">
6
+ <div class="hb-center-v hb-container-expand">
7
+ <ul class="ps-0 nav-bar-nav-list noeffects after-bullets overflow-ellipsis text-light-2">
8
+ <li class="ps-0 mt-0 nav-bar-item">{{doc-type}}</li>
9
+ <li class="ps-0 mt-0 nav-bar-item">{{last-update}}</li>
10
+ <li class="ps-0 mt-0 nav-bar-item">{{reading-time}} minutes to read</li>
11
+ <li class="ps-0 mt-0 nav-bar-item">
12
+ <a class="link c-pointer" data-bs-toggle="modal" data-bs-target="#contributersModal">{{contributor-count}} contributors</a>
13
+ </li>
14
+ </ul>
15
+ </div>
16
+ </div>
17
17
  </div>
@@ -1,13 +1,13 @@
1
- (function() {
2
- 'use strict';
3
- const vers = process.versions;
4
- if (vers && vers.node) {
5
- if (parseInt(vers.node, 10) < 18) {
6
- console.log('\r\nHornbill HDocBook Tools\r\n');
7
- console.error('\x1b[31mThis tool requires Node.js version >= 18.x.\x1b[0m\r\n');
8
- process.exit(1);
9
- }
10
- } else {
11
- console.log('\x1b[33mCould not read version of Node.js, continuing...\x1b[0m');
12
- }
1
+ (function() {
2
+ 'use strict';
3
+ const vers = process.versions;
4
+ if (vers && vers.node) {
5
+ if (parseInt(vers.node, 10) < 18) {
6
+ console.log('\r\nHornbill HDocBook Tools\r\n');
7
+ console.error('\x1b[31mThis tool requires Node.js version >= 18.x.\x1b[0m\r\n');
8
+ process.exit(1);
9
+ }
10
+ } else {
11
+ console.log('\x1b[33mCould not read version of Node.js, continuing...\x1b[0m');
12
+ }
13
13
  })();
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,7 +0,0 @@
1
- _work/
2
- node_modules/
3
- package-lock.json
4
- .wsuo
5
- VSWorkspaceState.json
6
- slnx.state
7
- slnx.sqlite