undocs 0.3.0 → 0.3.1

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/app/app.vue CHANGED
@@ -30,7 +30,7 @@ provide('navigation', navigation)
30
30
  <NuxtLoadingIndicator color="var(--ui-primary)" />
31
31
  <AppHeader />
32
32
 
33
- <UMain class="min-h-[calc(100vh-var(--header-height)-78px)]">
33
+ <UMain>
34
34
  <NuxtLayout>
35
35
  <NuxtPage />
36
36
  </NuxtLayout>
@@ -47,3 +47,7 @@
47
47
  pre .shiki span.line {
48
48
  display: inline;
49
49
  }
50
+
51
+ main {
52
+ min-height: calc(100vh - 150px);
53
+ }
@@ -284,6 +284,9 @@ function _parseJSDocType(node: MinimalNode): string {
284
284
  // --- internal utils ---
285
285
 
286
286
  function _getTextContent(node: MinimalNode): string {
287
+ if (!node) {
288
+ return ''
289
+ }
287
290
  if (typeof node === 'string') {
288
291
  return node
289
292
  }
@@ -140,12 +140,13 @@ const hero = computed(() => {
140
140
  <!-- Features -->
141
141
 
142
142
  <UPageSection
143
+ v-if="landing.features?.length > 0"
143
144
  :title="landing?.featuresTitle"
144
145
  :description="''"
145
146
  :ui="{
146
147
  title: 'text-left',
147
148
  description: 'text-left',
148
- root: 'bg-gradient-to-b border-t border-default from-muted dark:from-muted/40 to-default',
149
+ root: '',
149
150
  features: 'xl:grid-cols-4 lg:gap-10',
150
151
  }"
151
152
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "undocs",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "repository": "unjs/undocs",
5
5
  "license": "MIT",
6
6
  "type": "module",