@t8/docsgen 0.1.78 → 0.1.79

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 CHANGED
@@ -703,6 +703,7 @@ ${getInjectedContent(ctx, "redirect", "body")}
703
703
  descriptionNote,
704
704
  intro,
705
705
  features,
706
+ note,
706
707
  installation,
707
708
  sections,
708
709
  nav
@@ -812,19 +813,13 @@ ${getInjectedContent(ctx, "section", "body")}
812
813
  </div>
813
814
  <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>
814
815
  </section>
815
- ${intro || features ? `
816
+ ${intro || features || note ? `
816
817
  <section class="intro">
817
- ${intro ? `
818
818
  <div class="section-content">
819
- ${intro}
819
+ ${intro ? `<div class="intro">${intro}</div>` : ""}
820
+ ${features ? `<div class="features">${features}</div>` : ""}
821
+ ${note ? `<div class="note">${note}</div>` : ""}
820
822
  </div>
821
- ` : ""}
822
- ${features ? `
823
- <div class="features section-content">
824
- <h2>Features</h2>
825
- ${features}
826
- </div>
827
- ` : ""}
828
823
  </section>
829
824
  ` : ""}
830
825
  </main>
@@ -231,7 +231,6 @@ section.intro .section-content {
231
231
  list-style: disc;
232
232
  }
233
233
  .note {
234
- padding: 0 3.5em;
235
234
  margin: 1.5em 0;
236
235
  }
237
236
  @media (max-width: 840px) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t8/docsgen",
3
- "version": "0.1.78",
3
+ "version": "0.1.79",
4
4
  "description": "",
5
5
  "main": "dist/bin.js",
6
6
  "bin": {
@@ -95,6 +95,7 @@ ${getInjectedContent(ctx, "redirect", "body")}
95
95
  descriptionNote,
96
96
  intro,
97
97
  features,
98
+ note,
98
99
  installation,
99
100
  sections,
100
101
  nav,
@@ -213,28 +214,14 @@ ${getInjectedContent(ctx, "section", "body")}
213
214
  <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>
214
215
  </section>
215
216
  ${
216
- intro || features
217
+ intro || features || note
217
218
  ? `
218
219
  <section class="intro">
219
- ${
220
- intro
221
- ? `
222
220
  <div class="section-content">
223
- ${intro}
221
+ ${intro ? `<div class="intro">${intro}</div>` : ""}
222
+ ${features ? `<div class="features">${features}</div>` : ""}
223
+ ${note ? `<div class="note">${note}</div>` : ""}
224
224
  </div>
225
- `
226
- : ""
227
- }
228
- ${
229
- features
230
- ? `
231
- <div class="features section-content">
232
- <h2>Features</h2>
233
- ${features}
234
- </div>
235
- `
236
- : ""
237
- }
238
225
  </section>
239
226
  `
240
227
  : ""
package/src/css/index.css CHANGED
@@ -231,7 +231,6 @@ section.intro .section-content {
231
231
  list-style: disc;
232
232
  }
233
233
  .note {
234
- padding: 0 3.5em;
235
234
  margin: 1.5em 0;
236
235
  }
237
236
  @media (max-width: 840px) {