undocs 0.4.8 → 0.4.10
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
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
const appConfig = useAppConfig()
|
|
3
|
+
</script>
|
|
4
|
+
|
|
1
5
|
<template>
|
|
2
6
|
<USeparator class="-mb-[10px]">
|
|
3
|
-
|
|
4
|
-
<img :src="useAppConfig().docs.logo" class="w-10 h-10" />
|
|
7
|
+
<img :src="appConfig.docs.logo" :alt="`${appConfig.site.name} logo`" class="w-10 h-10" />
|
|
5
8
|
</USeparator>
|
|
6
9
|
<UFooter>
|
|
7
10
|
<template #left>
|
|
@@ -32,7 +32,14 @@ const state = computed(() => (props.open ? 'close' : 'normal'))
|
|
|
32
32
|
</script>
|
|
33
33
|
|
|
34
34
|
<template>
|
|
35
|
-
<UButton
|
|
35
|
+
<UButton
|
|
36
|
+
size="sm"
|
|
37
|
+
variant="ghost"
|
|
38
|
+
color="neutral"
|
|
39
|
+
class="-me-1.5"
|
|
40
|
+
square
|
|
41
|
+
:aria-label="open ? 'Close menu' : 'Open menu'"
|
|
42
|
+
>
|
|
36
43
|
<svg
|
|
37
44
|
xmlns="http://www.w3.org/2000/svg"
|
|
38
45
|
class="size-5"
|
package/app/pages/[...slug].vue
CHANGED
package/package.json
CHANGED
package/schema/config.json
CHANGED
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
"type": "string",
|
|
11
11
|
"description": "Documentation directory\n\nNote: This option will be automatically set"
|
|
12
12
|
},
|
|
13
|
+
"lang": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "The language of the documentation site.",
|
|
16
|
+
"default": "en"
|
|
17
|
+
},
|
|
13
18
|
"name": {
|
|
14
19
|
"type": "string",
|
|
15
20
|
"description": "The name of the documentation site."
|