@t8/docsgen 0.3.27 → 0.3.28

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
@@ -817,7 +817,7 @@ ${content}
817
817
  ${nav[i - 1]?.id ? `<a href="${root}${contentDir}/${nav[i - 1]?.id}">${nav[i - 1]?.title}</a>` : `<a href="${root}">Intro</a>`}
818
818
  </span>
819
819
  <span class="sep">|</span>
820
- ${nav[i + 1]?.id ? `<span class="next"><a href="${root}${contentDir}/${nav[i + 1]?.id}">${nav[i + 1]?.title}</a> <span class="icon">\u2192</span></span>` : `<span class="repo next">${getRepoLink(ctx)} <span class="icon">\u2726</span></span>`}
820
+ ${nav[i + 1]?.id ? `<span class="next"><a href="${root}${contentDir}/${nav[i + 1]?.id}">${nav[i + 1]?.title}</a> <span class="icon">\u2192</span></span>` : `<span class="repo">${getRepoLink(ctx)}</span>`}
821
821
  </p>
822
822
  </main>
823
823
  ${navContent ? "<hr>" : ""}
package/dist/css/base.css CHANGED
@@ -108,13 +108,13 @@ h4 {
108
108
  margin: 1em 0 0.65em 0;
109
109
  }
110
110
  h2 {
111
- font-size: 1.5em;
111
+ font-size: 1.3em;
112
112
  }
113
113
  h3 {
114
- font-size: 1.3em;
114
+ font-size: 1.15em;
115
115
  }
116
116
  h4 {
117
- font-size: 1.15em;
117
+ font-size: 1em;
118
118
  }
119
119
  main {
120
120
  box-sizing: border-box;
@@ -33,6 +33,7 @@ footer {
33
33
  flex: none;
34
34
  align-self: stretch;
35
35
  font-size: 0.9em;
36
+ line-height: 1.25;
36
37
  text-align: end;
37
38
  border-right: 0.05em solid var(--line-color);
38
39
  padding: 0.75rem var(--content-padding-x);
@@ -52,7 +53,6 @@ footer {
52
53
  .body > nav p.title {
53
54
  font-size: 0.7rem;
54
55
  font-weight: normal;
55
- line-height: 1.2;
56
56
  text-transform: uppercase;
57
57
  margin: 1.1rem 0 0.75rem 0;
58
58
  }
@@ -62,7 +62,6 @@ footer {
62
62
  }
63
63
  .body > nav ul {
64
64
  list-style: none;
65
- line-height: 1.2;
66
65
  padding: 0;
67
66
  margin: 0;
68
67
  box-sizing: border-box;
@@ -89,7 +88,7 @@ footer {
89
88
  top: 0;
90
89
  }
91
90
  .body > nav li + li {
92
- margin-top: 0.65em;
91
+ margin-top: 0.55em;
93
92
  }
94
93
  .body > nav li > strong {
95
94
  color: var(--emphatic-color);
@@ -117,9 +116,6 @@ footer {
117
116
  left: 0;
118
117
  right: auto;
119
118
  }
120
- .body > nav li + li {
121
- margin-top: 0.65em;
122
- }
123
119
  }
124
120
  .body > nav > ul:last-child,
125
121
  .body > nav > ul:last-child > li:last-child {
@@ -163,7 +159,7 @@ main hr {
163
159
  margin: var(--block-margin-y) 0;
164
160
  }
165
161
  main h1 {
166
- font-size: 0.8rem;
162
+ font-size: 0.75rem;
167
163
  font-weight: normal;
168
164
  line-height: 1.1;
169
165
  color: var(--secondary-color);
@@ -201,6 +197,7 @@ main h2:first-child {
201
197
  display: flex;
202
198
  justify-content: space-between;
203
199
  gap: 1em;
200
+ line-height: 1.25;
204
201
  border-top: var(--sep-line);
205
202
  padding: 0.6em 0 0;
206
203
  margin: 1.5em 0 0;
@@ -214,7 +211,6 @@ main h2:first-child {
214
211
  .pagenav .prev,
215
212
  .pagenav .next {
216
213
  display: inline-block;
217
- line-height: 1.2;
218
214
  position: relative;
219
215
  }
220
216
  .pagenav .icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t8/docsgen",
3
- "version": "0.3.27",
3
+ "version": "0.3.28",
4
4
  "description": "",
5
5
  "main": "dist/bin.js",
6
6
  "type": "module",
@@ -189,7 +189,7 @@ ${content}
189
189
  ${nav[i - 1]?.id ? `<a href="${root}${contentDir}/${nav[i - 1]?.id}">${nav[i - 1]?.title}</a>` : `<a href="${root}">Intro</a>`}
190
190
  </span>
191
191
  <span class="sep">|</span>
192
- ${nav[i + 1]?.id ? `<span class="next"><a href="${root}${contentDir}/${nav[i + 1]?.id}">${nav[i + 1]?.title}</a> <span class="icon">→</span></span>` : `<span class="repo next">${getRepoLink(ctx)} <span class="icon">✦</span></span>`}
192
+ ${nav[i + 1]?.id ? `<span class="next"><a href="${root}${contentDir}/${nav[i + 1]?.id}">${nav[i + 1]?.title}</a> <span class="icon">→</span></span>` : `<span class="repo">${getRepoLink(ctx)}</span>`}
193
193
  </p>
194
194
  </main>
195
195
  ${navContent ? "<hr>" : ""}
package/src/css/base.css CHANGED
@@ -108,13 +108,13 @@ h4 {
108
108
  margin: 1em 0 0.65em 0;
109
109
  }
110
110
  h2 {
111
- font-size: 1.5em;
111
+ font-size: 1.3em;
112
112
  }
113
113
  h3 {
114
- font-size: 1.3em;
114
+ font-size: 1.15em;
115
115
  }
116
116
  h4 {
117
- font-size: 1.15em;
117
+ font-size: 1em;
118
118
  }
119
119
  main {
120
120
  box-sizing: border-box;
@@ -33,6 +33,7 @@ footer {
33
33
  flex: none;
34
34
  align-self: stretch;
35
35
  font-size: 0.9em;
36
+ line-height: 1.25;
36
37
  text-align: end;
37
38
  border-right: 0.05em solid var(--line-color);
38
39
  padding: 0.75rem var(--content-padding-x);
@@ -52,7 +53,6 @@ footer {
52
53
  .body > nav p.title {
53
54
  font-size: 0.7rem;
54
55
  font-weight: normal;
55
- line-height: 1.2;
56
56
  text-transform: uppercase;
57
57
  margin: 1.1rem 0 0.75rem 0;
58
58
  }
@@ -62,7 +62,6 @@ footer {
62
62
  }
63
63
  .body > nav ul {
64
64
  list-style: none;
65
- line-height: 1.2;
66
65
  padding: 0;
67
66
  margin: 0;
68
67
  box-sizing: border-box;
@@ -89,7 +88,7 @@ footer {
89
88
  top: 0;
90
89
  }
91
90
  .body > nav li + li {
92
- margin-top: 0.65em;
91
+ margin-top: 0.55em;
93
92
  }
94
93
  .body > nav li > strong {
95
94
  color: var(--emphatic-color);
@@ -117,9 +116,6 @@ footer {
117
116
  left: 0;
118
117
  right: auto;
119
118
  }
120
- .body > nav li + li {
121
- margin-top: 0.65em;
122
- }
123
119
  }
124
120
  .body > nav > ul:last-child,
125
121
  .body > nav > ul:last-child > li:last-child {
@@ -163,7 +159,7 @@ main hr {
163
159
  margin: var(--block-margin-y) 0;
164
160
  }
165
161
  main h1 {
166
- font-size: 0.8rem;
162
+ font-size: 0.75rem;
167
163
  font-weight: normal;
168
164
  line-height: 1.1;
169
165
  color: var(--secondary-color);
@@ -201,6 +197,7 @@ main h2:first-child {
201
197
  display: flex;
202
198
  justify-content: space-between;
203
199
  gap: 1em;
200
+ line-height: 1.25;
204
201
  border-top: var(--sep-line);
205
202
  padding: 0.6em 0 0;
206
203
  margin: 1.5em 0 0;
@@ -214,7 +211,6 @@ main h2:first-child {
214
211
  .pagenav .prev,
215
212
  .pagenav .next {
216
213
  display: inline-block;
217
- line-height: 1.2;
218
214
  position: relative;
219
215
  }
220
216
  .pagenav .icon {