hdoc-tools 0.61.0 → 0.62.0

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.
Files changed (45) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +89 -75
  3. package/editor/dist/assets/index-Blewr90z.css +1 -1
  4. package/editor/dist/assets/index-BtxvGZHW.js +111 -111
  5. package/editor/dist/assets/spell.worker-sryEKmOj.js +13 -13
  6. package/editor/dist/index.html +14 -14
  7. package/hdoc-build-db.js +275 -275
  8. package/hdoc-build-embeddings.js +202 -202
  9. package/hdoc-build-pdf.js +232 -232
  10. package/hdoc-bump.js +125 -125
  11. package/hdoc-create.js +110 -110
  12. package/hdoc-db.js +114 -114
  13. package/hdoc-help.js +60 -60
  14. package/hdoc-install-browser.js +145 -145
  15. package/hdoc-mermaid.js +204 -204
  16. package/hdoc-module.js +1102 -1102
  17. package/hdoc-validate-config.js +355 -355
  18. package/hdoc-validate-interbook.js +321 -321
  19. package/hdoc-validate.js +1231 -1231
  20. package/hdoc-ver.js +45 -45
  21. package/package.json +12 -1
  22. package/templates/doc-header-non-git.html +19 -19
  23. package/templates/doc-header.html +26 -26
  24. package/templates/init/.github/workflows/hdocbuild_onpull.yml +16 -16
  25. package/templates/init/.github/workflows/hdocbuild_onpush.yml +15 -15
  26. package/templates/init/LICENSE +21 -21
  27. package/templates/init/README.md +9 -9
  28. package/templates/init/_hdocbook/index.md +4 -4
  29. package/templates/init/gitignore +8 -8
  30. package/templates/init/resources/README.md +2 -2
  31. package/templates/pdf/css/custom-block.css +90 -90
  32. package/templates/pdf/css/fonts.css +221 -221
  33. package/templates/pdf/css/hdocs-pdf.css +495 -495
  34. package/templates/pdf/css/vars.css +404 -404
  35. package/templates/pdf/template-footer.html +19 -19
  36. package/templates/pdf/template-header.html +37 -37
  37. package/templates/pdf/template.html +20 -20
  38. package/templates/pdf-header-non-git.html +12 -12
  39. package/templates/pdf-header.html +16 -16
  40. package/ui/content/invalid-hdocbook-json.html +6 -6
  41. package/ui/content/invalid-hdocbook-json.md +7 -7
  42. package/ui/css/theme-default/styles/components/content.css +124 -124
  43. package/ui/css/theme-default/styles/components/sidebar.css +182 -182
  44. package/ui/css/theme-default/styles/htldoc.layouts.css +310 -310
  45. package/ui/index.html +419 -419
@@ -1,310 +1,310 @@
1
- /* put htl styles here */
2
-
3
- /* LAYOUT */
4
- .hb-container-vertical{
5
- height: 100%;
6
- display: flex;
7
- flex-direction: column;
8
- }
9
- .hb-container-horizontal{
10
- display: flex;
11
- flex-direction: row;
12
- width: 100%;
13
- }
14
- .hb-container-vertical > *,
15
- .hb-container-horizontal > *{
16
- flex-shrink: 1;
17
- }
18
- .hb-container-vertical > .hb-container-expand,
19
- .hb-container-horizontal > .hb-container-expand{
20
- flex-grow: 1;
21
- overflow: auto;
22
- }
23
- .hb-full-height{
24
- height: 100%;
25
- }
26
- .hb-min-height{
27
- height: auto;
28
- }
29
- .hb-overflow-hidden{
30
- overflow: hidden !important;
31
- }
32
- .hb-center-v
33
- {
34
- margin-top: auto;
35
- margin-bottom: auto;
36
- }
37
- .hb-text-overflow
38
- {
39
- white-space: nowrap;
40
- overflow: hidden;
41
- text-overflow: ellipsis;
42
- }
43
-
44
- /* toolbar */
45
- .toolbar-layout
46
- {
47
- min-height: 58px;
48
- height: 58px;
49
- line-height: 58px;
50
- border-bottom: 1px solid var(--htl-c-divider-light);
51
- }
52
-
53
- .toolbar-logo
54
- {
55
- width: 200px;
56
- min-width: 200px;
57
- height: 100%;
58
- padding: 0px 20px;
59
- }
60
-
61
- .toolbar-logo-image
62
- {
63
- background: url(/css/images/hornbill-logo-full.svg) no-repeat left center;
64
- height:100%;
65
- }
66
-
67
- .toolbar-split {
68
- margin-top: auto;
69
- margin-bottom: auto;
70
- height: 50%;
71
- border-left: 2px solid var(--htl-c-divider-light);
72
- margin-left: 0.5rem;
73
- margin-right: 0.5rem;
74
- display: block;
75
- }
76
-
77
- .toolbar-middle
78
- {
79
- padding: 0px 20px
80
- }
81
-
82
- .toolbar-right
83
- {
84
- padding: 0px 20px;
85
- }
86
-
87
- .toolbar-action
88
- {
89
- cursor:pointer;
90
- text-decoration : none;
91
- padding: 4px;
92
- }
93
- .toolbar-action:hover
94
- {
95
- background-color: var(--htl-c-blue-dimm-2);
96
- }
97
-
98
-
99
-
100
-
101
- /* toolbar title and desc */
102
- .toolbar-layout .title
103
- {
104
- white-space: nowrap;
105
- overflow: hidden;
106
- text-overflow: ellipsis;
107
- }
108
- .toolbar-layout .description
109
- {
110
- white-space: nowrap;
111
- overflow: hidden;
112
- text-overflow: ellipsis;
113
- }
114
-
115
- .toolbar-layout .mobile-menu-btn
116
- {
117
- border-radius: 4px 4px;
118
- margin-left:10px;
119
- padding: 4 4;
120
- font-size: var(--htl-massive-font-size);
121
- border-color: var(--htl-button-brand-border);
122
- color:var(--htl-c-brand-dark);
123
- }
124
-
125
- .toolbar-layout .mobile-menu-btn:hover
126
- {
127
- border: var(--htl-button-brand-lighter);
128
- color:var(--htl-c-text-dark-1);
129
- background:var(--htl-c-brand);
130
- }
131
-
132
- /* top nav bar */
133
- .nav-bar-nav-list {
134
- align-items: stretch;
135
- display: flex;
136
- }
137
-
138
- .nav-bar-nav-list .nav-bar-item {
139
- flex-shrink: 0;
140
- align-items: center;
141
- display: flex;
142
-
143
- }
144
-
145
- .nav-bar-nav-list .nav-bar-item > a{
146
- padding:0 0.5rem;
147
- font-size: var(--htl-default-font-size);
148
- }
149
-
150
- .nav-bar-nav-list .nav-bar-item:hover {
151
- text-decoration: underline;
152
- cursor: pointer;
153
- }
154
-
155
- .nav-bar-nav-list .nav-bar-item.active {
156
- text-decoration: underline;
157
- }
158
-
159
- .nav-bar-nav-list.noeffects .nav-bar-item:hover {
160
- text-decoration: none;
161
- cursor: default;
162
- }
163
-
164
- .nav-bar-nav-list.noeffects .nav-bar-item.active {
165
- text-decoration: none;
166
- }
167
-
168
-
169
- /* panel headers */
170
- .panel-header
171
- {
172
- background-color: var(--htl-c-white-soft);
173
- padding:10px;
174
- border: 1px solid var(--htl-c-divider-light);
175
- border-radius: 4px 4px 0 0;
176
- }
177
- .panel-header .icon
178
- {
179
- font-size: 20px;
180
- font-weight: normal;
181
-
182
- display: inline-block;
183
- position: relative;
184
- top: 3px;
185
-
186
- margin-right:5px;
187
-
188
-
189
- }
190
- .panel-header .title
191
- {
192
- width:32px;height:32px;
193
- font-size: var(--htl-default-font-size);
194
- font-weight: 600;
195
-
196
- }
197
- .dark .panel-header
198
- {
199
- background-color: var(--htl-c-black);
200
- }
201
- .panel-content
202
- {
203
- padding:10px;
204
- border: 1px solid var(--htl-c-divider-light);
205
- border-color: var(--htl-c-divider-light)!important;
206
- border-top-width: 0px;
207
- }
208
-
209
- .lh-normal
210
- {
211
- line-height:normal;
212
- }
213
- .lh-3
214
- {
215
- line-height:3;
216
- }
217
- .fs-12
218
- {
219
- font-size:12px;
220
- }
221
- /* user profile stuff */
222
- .dark .userprofile
223
- {
224
- background-color: var(--htl-c-bg);
225
-
226
- }
227
-
228
- .dark .userprofile .dropdown-menu
229
- {
230
- background-color: var(--htl-c-bg);
231
- border-color: var(--htl-c-divider-light)!important;
232
- }
233
-
234
- .userprofile .dropdown-menu
235
- {
236
- min-width:max-content;
237
- color:inherit;
238
- }
239
-
240
- .userprofile .dropdown-toggle::after
241
- {
242
- display:none;
243
- }
244
- .userprofile .svg-prof
245
- {
246
- border-radius: 50%;
247
- }
248
-
249
- /* theme switcher */
250
- .theme-switch {
251
- position:relative;
252
- display: inline-block;
253
- width: 30px;
254
- height: 20px;
255
-
256
- }
257
-
258
- .theme-switch input {
259
- opacity: 0;
260
- width: 0;
261
- height: 0;
262
- }
263
-
264
- .slider {
265
- position: absolute;
266
- cursor: pointer;
267
- top: 0;
268
- left: 0;
269
- right: 0;
270
- bottom: 0;
271
- background-color: #ccc;
272
- -webkit-transition: .4s;
273
- transition: .4s;
274
- }
275
-
276
- .slider:before {
277
- position: absolute;
278
- content: "";
279
- height: 13px;
280
- width: 13px;
281
- left: 2px;
282
- bottom: 4px;
283
- background-color: white;
284
- -webkit-transition: .4s;
285
- transition: .4s;
286
- }
287
-
288
- input:checked + .slider {
289
- background-color: #2196F3;
290
- }
291
-
292
- input:focus + .slider {
293
- box-shadow: 0 0 1px #2196F3;
294
- }
295
-
296
- input:checked + .slider:before {
297
- -webkit-transform: translateX(13px);
298
- -ms-transform: translateX(13px);
299
- transform: translateX(13px);
300
- }
301
-
302
- /* Rounded sliders */
303
- .slider.round {
304
- border-radius: 34px;
305
- }
306
-
307
- .slider.round:before {
308
- border-radius: 50%;
309
- }
310
-
1
+ /* put htl styles here */
2
+
3
+ /* LAYOUT */
4
+ .hb-container-vertical{
5
+ height: 100%;
6
+ display: flex;
7
+ flex-direction: column;
8
+ }
9
+ .hb-container-horizontal{
10
+ display: flex;
11
+ flex-direction: row;
12
+ width: 100%;
13
+ }
14
+ .hb-container-vertical > *,
15
+ .hb-container-horizontal > *{
16
+ flex-shrink: 1;
17
+ }
18
+ .hb-container-vertical > .hb-container-expand,
19
+ .hb-container-horizontal > .hb-container-expand{
20
+ flex-grow: 1;
21
+ overflow: auto;
22
+ }
23
+ .hb-full-height{
24
+ height: 100%;
25
+ }
26
+ .hb-min-height{
27
+ height: auto;
28
+ }
29
+ .hb-overflow-hidden{
30
+ overflow: hidden !important;
31
+ }
32
+ .hb-center-v
33
+ {
34
+ margin-top: auto;
35
+ margin-bottom: auto;
36
+ }
37
+ .hb-text-overflow
38
+ {
39
+ white-space: nowrap;
40
+ overflow: hidden;
41
+ text-overflow: ellipsis;
42
+ }
43
+
44
+ /* toolbar */
45
+ .toolbar-layout
46
+ {
47
+ min-height: 58px;
48
+ height: 58px;
49
+ line-height: 58px;
50
+ border-bottom: 1px solid var(--htl-c-divider-light);
51
+ }
52
+
53
+ .toolbar-logo
54
+ {
55
+ width: 200px;
56
+ min-width: 200px;
57
+ height: 100%;
58
+ padding: 0px 20px;
59
+ }
60
+
61
+ .toolbar-logo-image
62
+ {
63
+ background: url(/css/images/hornbill-logo-full.svg) no-repeat left center;
64
+ height:100%;
65
+ }
66
+
67
+ .toolbar-split {
68
+ margin-top: auto;
69
+ margin-bottom: auto;
70
+ height: 50%;
71
+ border-left: 2px solid var(--htl-c-divider-light);
72
+ margin-left: 0.5rem;
73
+ margin-right: 0.5rem;
74
+ display: block;
75
+ }
76
+
77
+ .toolbar-middle
78
+ {
79
+ padding: 0px 20px
80
+ }
81
+
82
+ .toolbar-right
83
+ {
84
+ padding: 0px 20px;
85
+ }
86
+
87
+ .toolbar-action
88
+ {
89
+ cursor:pointer;
90
+ text-decoration : none;
91
+ padding: 4px;
92
+ }
93
+ .toolbar-action:hover
94
+ {
95
+ background-color: var(--htl-c-blue-dimm-2);
96
+ }
97
+
98
+
99
+
100
+
101
+ /* toolbar title and desc */
102
+ .toolbar-layout .title
103
+ {
104
+ white-space: nowrap;
105
+ overflow: hidden;
106
+ text-overflow: ellipsis;
107
+ }
108
+ .toolbar-layout .description
109
+ {
110
+ white-space: nowrap;
111
+ overflow: hidden;
112
+ text-overflow: ellipsis;
113
+ }
114
+
115
+ .toolbar-layout .mobile-menu-btn
116
+ {
117
+ border-radius: 4px 4px;
118
+ margin-left:10px;
119
+ padding: 4 4;
120
+ font-size: var(--htl-massive-font-size);
121
+ border-color: var(--htl-button-brand-border);
122
+ color:var(--htl-c-brand-dark);
123
+ }
124
+
125
+ .toolbar-layout .mobile-menu-btn:hover
126
+ {
127
+ border: var(--htl-button-brand-lighter);
128
+ color:var(--htl-c-text-dark-1);
129
+ background:var(--htl-c-brand);
130
+ }
131
+
132
+ /* top nav bar */
133
+ .nav-bar-nav-list {
134
+ align-items: stretch;
135
+ display: flex;
136
+ }
137
+
138
+ .nav-bar-nav-list .nav-bar-item {
139
+ flex-shrink: 0;
140
+ align-items: center;
141
+ display: flex;
142
+
143
+ }
144
+
145
+ .nav-bar-nav-list .nav-bar-item > a{
146
+ padding:0 0.5rem;
147
+ font-size: var(--htl-default-font-size);
148
+ }
149
+
150
+ .nav-bar-nav-list .nav-bar-item:hover {
151
+ text-decoration: underline;
152
+ cursor: pointer;
153
+ }
154
+
155
+ .nav-bar-nav-list .nav-bar-item.active {
156
+ text-decoration: underline;
157
+ }
158
+
159
+ .nav-bar-nav-list.noeffects .nav-bar-item:hover {
160
+ text-decoration: none;
161
+ cursor: default;
162
+ }
163
+
164
+ .nav-bar-nav-list.noeffects .nav-bar-item.active {
165
+ text-decoration: none;
166
+ }
167
+
168
+
169
+ /* panel headers */
170
+ .panel-header
171
+ {
172
+ background-color: var(--htl-c-white-soft);
173
+ padding:10px;
174
+ border: 1px solid var(--htl-c-divider-light);
175
+ border-radius: 4px 4px 0 0;
176
+ }
177
+ .panel-header .icon
178
+ {
179
+ font-size: 20px;
180
+ font-weight: normal;
181
+
182
+ display: inline-block;
183
+ position: relative;
184
+ top: 3px;
185
+
186
+ margin-right:5px;
187
+
188
+
189
+ }
190
+ .panel-header .title
191
+ {
192
+ width:32px;height:32px;
193
+ font-size: var(--htl-default-font-size);
194
+ font-weight: 600;
195
+
196
+ }
197
+ .dark .panel-header
198
+ {
199
+ background-color: var(--htl-c-black);
200
+ }
201
+ .panel-content
202
+ {
203
+ padding:10px;
204
+ border: 1px solid var(--htl-c-divider-light);
205
+ border-color: var(--htl-c-divider-light)!important;
206
+ border-top-width: 0px;
207
+ }
208
+
209
+ .lh-normal
210
+ {
211
+ line-height:normal;
212
+ }
213
+ .lh-3
214
+ {
215
+ line-height:3;
216
+ }
217
+ .fs-12
218
+ {
219
+ font-size:12px;
220
+ }
221
+ /* user profile stuff */
222
+ .dark .userprofile
223
+ {
224
+ background-color: var(--htl-c-bg);
225
+
226
+ }
227
+
228
+ .dark .userprofile .dropdown-menu
229
+ {
230
+ background-color: var(--htl-c-bg);
231
+ border-color: var(--htl-c-divider-light)!important;
232
+ }
233
+
234
+ .userprofile .dropdown-menu
235
+ {
236
+ min-width:max-content;
237
+ color:inherit;
238
+ }
239
+
240
+ .userprofile .dropdown-toggle::after
241
+ {
242
+ display:none;
243
+ }
244
+ .userprofile .svg-prof
245
+ {
246
+ border-radius: 50%;
247
+ }
248
+
249
+ /* theme switcher */
250
+ .theme-switch {
251
+ position:relative;
252
+ display: inline-block;
253
+ width: 30px;
254
+ height: 20px;
255
+
256
+ }
257
+
258
+ .theme-switch input {
259
+ opacity: 0;
260
+ width: 0;
261
+ height: 0;
262
+ }
263
+
264
+ .slider {
265
+ position: absolute;
266
+ cursor: pointer;
267
+ top: 0;
268
+ left: 0;
269
+ right: 0;
270
+ bottom: 0;
271
+ background-color: #ccc;
272
+ -webkit-transition: .4s;
273
+ transition: .4s;
274
+ }
275
+
276
+ .slider:before {
277
+ position: absolute;
278
+ content: "";
279
+ height: 13px;
280
+ width: 13px;
281
+ left: 2px;
282
+ bottom: 4px;
283
+ background-color: white;
284
+ -webkit-transition: .4s;
285
+ transition: .4s;
286
+ }
287
+
288
+ input:checked + .slider {
289
+ background-color: #2196F3;
290
+ }
291
+
292
+ input:focus + .slider {
293
+ box-shadow: 0 0 1px #2196F3;
294
+ }
295
+
296
+ input:checked + .slider:before {
297
+ -webkit-transform: translateX(13px);
298
+ -ms-transform: translateX(13px);
299
+ transform: translateX(13px);
300
+ }
301
+
302
+ /* Rounded sliders */
303
+ .slider.round {
304
+ border-radius: 34px;
305
+ }
306
+
307
+ .slider.round:before {
308
+ border-radius: 50%;
309
+ }
310
+