@t8/docsgen 0.1.13 → 0.1.15
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/dist/bin.js +1 -0
- package/dist/css/base.css +11 -3
- package/package.json +1 -1
- package/src/bin/setContent.ts +1 -0
- package/src/css/base.css +11 -3
package/dist/bin.js
CHANGED
|
@@ -663,6 +663,7 @@ ${counterContent}
|
|
|
663
663
|
</p>
|
|
664
664
|
${backstory ? `<p class="ref"><a href="${backstory}">Backstory</a></p>` : ""}
|
|
665
665
|
<p class="installation"><code>${installation}</code></p>
|
|
666
|
+
<script>document.querySelectorAll(".badges img").forEach(img=>{let c=img.closest(".badge");if(c){if(img.complete)c.classList.add("loaded");else{img.onload=()=>{c.classList.add("loaded");};img.onerror=()=>{c.classList.add("failed");};}}});</script>
|
|
666
667
|
</section>
|
|
667
668
|
${features ? `
|
|
668
669
|
<section class="intro">
|
package/dist/css/base.css
CHANGED
|
@@ -229,18 +229,26 @@ html.blank .layout {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.badges .badge {
|
|
232
|
-
display: inline-
|
|
233
|
-
min-width:
|
|
232
|
+
display: inline-block;
|
|
233
|
+
min-width: 80px;
|
|
234
234
|
min-height: 20px;
|
|
235
235
|
font-size: 11px;
|
|
236
236
|
font-family: Verdana, sans-serif;
|
|
237
|
+
line-height: 20px;
|
|
237
238
|
text-align: center;
|
|
238
239
|
white-space: nowrap;
|
|
239
|
-
|
|
240
|
+
vertical-align: top;
|
|
240
241
|
color: #fff;
|
|
241
242
|
background: #345;
|
|
242
243
|
box-sizing: border-box;
|
|
243
244
|
}
|
|
245
|
+
.badges .badge.loaded,
|
|
246
|
+
.badges .badge.failed {
|
|
247
|
+
min-width: auto;
|
|
248
|
+
}
|
|
249
|
+
.badges .badge.failed {
|
|
250
|
+
padding: 0 6px;
|
|
251
|
+
}
|
|
244
252
|
.badges img {
|
|
245
253
|
vertical-align: top;
|
|
246
254
|
}
|
package/package.json
CHANGED
package/src/bin/setContent.ts
CHANGED
|
@@ -188,6 +188,7 @@ ${counterContent}
|
|
|
188
188
|
</p>
|
|
189
189
|
${backstory ? `<p class="ref"><a href="${backstory}">Backstory</a></p>` : ""}
|
|
190
190
|
<p class="installation"><code>${installation}</code></p>
|
|
191
|
+
<script>document.querySelectorAll(".badges img").forEach(img=>{let c=img.closest(".badge");if(c){if(img.complete)c.classList.add("loaded");else{img.onload=()=>{c.classList.add("loaded");};img.onerror=()=>{c.classList.add("failed");};}}});</script>
|
|
191
192
|
</section>
|
|
192
193
|
${
|
|
193
194
|
features
|
package/src/css/base.css
CHANGED
|
@@ -229,18 +229,26 @@ html.blank .layout {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.badges .badge {
|
|
232
|
-
display: inline-
|
|
233
|
-
min-width:
|
|
232
|
+
display: inline-block;
|
|
233
|
+
min-width: 80px;
|
|
234
234
|
min-height: 20px;
|
|
235
235
|
font-size: 11px;
|
|
236
236
|
font-family: Verdana, sans-serif;
|
|
237
|
+
line-height: 20px;
|
|
237
238
|
text-align: center;
|
|
238
239
|
white-space: nowrap;
|
|
239
|
-
|
|
240
|
+
vertical-align: top;
|
|
240
241
|
color: #fff;
|
|
241
242
|
background: #345;
|
|
242
243
|
box-sizing: border-box;
|
|
243
244
|
}
|
|
245
|
+
.badges .badge.loaded,
|
|
246
|
+
.badges .badge.failed {
|
|
247
|
+
min-width: auto;
|
|
248
|
+
}
|
|
249
|
+
.badges .badge.failed {
|
|
250
|
+
padding: 0 6px;
|
|
251
|
+
}
|
|
244
252
|
.badges img {
|
|
245
253
|
vertical-align: top;
|
|
246
254
|
}
|