docs-please 0.2.0-beta.0
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/README.md +63 -0
- package/app/app.config.ts +13 -0
- package/app/app.vue +17 -0
- package/app/assets/css/main.css +367 -0
- package/app/components/Icons.ts +163 -0
- package/app/components/app/AppFooter.vue +24 -0
- package/app/components/app/AppHeader.vue +58 -0
- package/app/components/content/BrowserFrame.vue +21 -0
- package/app/components/content/Callout.vue +80 -0
- package/app/components/content/Caution.vue +25 -0
- package/app/components/content/CodeBlockCommand.vue +92 -0
- package/app/components/content/CodeCollapsibleWrapper.vue +50 -0
- package/app/components/content/CodeTabs.vue +14 -0
- package/app/components/content/ComponentPreview.vue +71 -0
- package/app/components/content/ComponentsList.vue +24 -0
- package/app/components/content/CopyButton.vue +39 -0
- package/app/components/content/FeatureCard.vue +25 -0
- package/app/components/content/LinkedCard.vue +19 -0
- package/app/components/content/Note.vue +25 -0
- package/app/components/content/ProseA.vue +18 -0
- package/app/components/content/ProseBlockQuote.vue +8 -0
- package/app/components/content/ProseCode.vue +8 -0
- package/app/components/content/ProseH1.vue +7 -0
- package/app/components/content/ProseH2.vue +8 -0
- package/app/components/content/ProseH3.vue +9 -0
- package/app/components/content/ProseH4.vue +9 -0
- package/app/components/content/ProseH5.vue +7 -0
- package/app/components/content/ProseH6.vue +7 -0
- package/app/components/content/ProseHr.vue +6 -0
- package/app/components/content/ProseIcon.vue +32 -0
- package/app/components/content/ProseImg.vue +6 -0
- package/app/components/content/ProseLi.vue +8 -0
- package/app/components/content/ProseOl.vue +8 -0
- package/app/components/content/ProseP.vue +14 -0
- package/app/components/content/ProsePre.vue +80 -0
- package/app/components/content/ProseStrong.vue +8 -0
- package/app/components/content/ProseTable.vue +26 -0
- package/app/components/content/ProseTd.vue +8 -0
- package/app/components/content/ProseTh.vue +8 -0
- package/app/components/content/ProseTr.vue +8 -0
- package/app/components/content/ProseUl.vue +8 -0
- package/app/components/content/Step.vue +18 -0
- package/app/components/content/Steps.vue +18 -0
- package/app/components/content/Tabs.vue +129 -0
- package/app/components/content/TabsItem.vue +26 -0
- package/app/components/content/Tip.vue +25 -0
- package/app/components/content/UButton.vue +34 -0
- package/app/components/content/UColorModeImage.vue +48 -0
- package/app/components/content/UPageCard.vue +83 -0
- package/app/components/content/UPageGrid.vue +18 -0
- package/app/components/content/UPageHero.vue +92 -0
- package/app/components/content/UPageSection.vue +90 -0
- package/app/components/content/Warning.vue +25 -0
- package/app/components/docs/DocsPageHeader.vue +20 -0
- package/app/components/docs/DocsPageNav.vue +31 -0
- package/app/components/docs/DocsSidebar.vue +97 -0
- package/app/components/docs/DocsTableOfContents.vue +64 -0
- package/app/components/ui/accordion/Accordion.vue +22 -0
- package/app/components/ui/accordion/AccordionContent.vue +23 -0
- package/app/components/ui/accordion/AccordionItem.vue +24 -0
- package/app/components/ui/accordion/AccordionTrigger.vue +37 -0
- package/app/components/ui/accordion/index.ts +4 -0
- package/app/components/ui/alert/Alert.vue +21 -0
- package/app/components/ui/alert/AlertDescription.vue +17 -0
- package/app/components/ui/alert/AlertTitle.vue +17 -0
- package/app/components/ui/alert/index.ts +28 -0
- package/app/components/ui/button/Button.vue +29 -0
- package/app/components/ui/button/index.ts +38 -0
- package/app/components/ui/card/Card.vue +22 -0
- package/app/components/ui/card/CardAction.vue +17 -0
- package/app/components/ui/card/CardContent.vue +17 -0
- package/app/components/ui/card/CardDescription.vue +17 -0
- package/app/components/ui/card/CardFooter.vue +17 -0
- package/app/components/ui/card/CardHeader.vue +17 -0
- package/app/components/ui/card/CardTitle.vue +17 -0
- package/app/components/ui/card/index.ts +7 -0
- package/app/components/ui/collapsible/Collapsible.vue +19 -0
- package/app/components/ui/collapsible/CollapsibleContent.vue +15 -0
- package/app/components/ui/collapsible/CollapsibleTrigger.vue +15 -0
- package/app/components/ui/collapsible/index.ts +3 -0
- package/app/components/ui/separator/Separator.vue +29 -0
- package/app/components/ui/separator/index.ts +1 -0
- package/app/components/ui/switch/Switch.vue +35 -0
- package/app/components/ui/switch/index.ts +1 -0
- package/app/components/ui/table/Table.vue +16 -0
- package/app/components/ui/table/TableBody.vue +14 -0
- package/app/components/ui/table/TableCaption.vue +14 -0
- package/app/components/ui/table/TableCell.vue +21 -0
- package/app/components/ui/table/TableEmpty.vue +34 -0
- package/app/components/ui/table/TableFooter.vue +14 -0
- package/app/components/ui/table/TableHead.vue +14 -0
- package/app/components/ui/table/TableHeader.vue +14 -0
- package/app/components/ui/table/TableRow.vue +14 -0
- package/app/components/ui/table/index.ts +9 -0
- package/app/components/ui/tabs/Tabs.vue +15 -0
- package/app/components/ui/tabs/TabsContent.vue +20 -0
- package/app/components/ui/tabs/TabsList.vue +23 -0
- package/app/components/ui/tabs/TabsTrigger.vue +27 -0
- package/app/components/ui/tabs/index.ts +4 -0
- package/app/components/ui/tooltip/Tooltip.vue +19 -0
- package/app/components/ui/tooltip/TooltipContent.vue +34 -0
- package/app/components/ui/tooltip/TooltipProvider.vue +14 -0
- package/app/components/ui/tooltip/TooltipTrigger.vue +15 -0
- package/app/components/ui/tooltip/index.ts +4 -0
- package/app/composables/useConfig.ts +24 -0
- package/app/composables/useNavigation.ts +43 -0
- package/app/layouts/default.vue +12 -0
- package/app/layouts/docs.vue +27 -0
- package/app/lib/utils.ts +7 -0
- package/app/pages/[...slug].vue +97 -0
- package/app/pages/index.vue +29 -0
- package/app/plugins/ssr-width.ts +5 -0
- package/content.config.ts +36 -0
- package/i18n/locales/en.json +14 -0
- package/modules/config.ts +38 -0
- package/modules/css.ts +38 -0
- package/modules/shadcn.ts +116 -0
- package/nuxt.config.ts +125 -0
- package/nuxt.schema.ts +68 -0
- package/package.json +81 -0
package/nuxt.schema.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export default defineNuxtSchema({
|
|
2
|
+
appConfig: {
|
|
3
|
+
docs: {
|
|
4
|
+
$schema: {
|
|
5
|
+
title: 'Docs Configuration',
|
|
6
|
+
description: 'Configuration for the documentation layer',
|
|
7
|
+
},
|
|
8
|
+
title: {
|
|
9
|
+
$default: 'Documentation',
|
|
10
|
+
$schema: {
|
|
11
|
+
title: 'Site Title',
|
|
12
|
+
description: 'The title of the documentation site',
|
|
13
|
+
type: 'string',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
description: {
|
|
17
|
+
$default: '',
|
|
18
|
+
$schema: {
|
|
19
|
+
title: 'Site Description',
|
|
20
|
+
description: 'The description of the documentation site',
|
|
21
|
+
type: 'string',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
url: {
|
|
25
|
+
$default: '',
|
|
26
|
+
$schema: {
|
|
27
|
+
title: 'Site URL',
|
|
28
|
+
description: 'The URL of the documentation site',
|
|
29
|
+
type: 'string',
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
github: {
|
|
33
|
+
$schema: {
|
|
34
|
+
title: 'GitHub Configuration',
|
|
35
|
+
description: 'GitHub repository configuration',
|
|
36
|
+
},
|
|
37
|
+
owner: {
|
|
38
|
+
$default: '',
|
|
39
|
+
$schema: {
|
|
40
|
+
title: 'Repository Owner',
|
|
41
|
+
type: 'string',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
name: {
|
|
45
|
+
$default: '',
|
|
46
|
+
$schema: {
|
|
47
|
+
title: 'Repository Name',
|
|
48
|
+
type: 'string',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
url: {
|
|
52
|
+
$default: '',
|
|
53
|
+
$schema: {
|
|
54
|
+
title: 'Repository URL',
|
|
55
|
+
type: 'string',
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
branch: {
|
|
59
|
+
$default: 'main',
|
|
60
|
+
$schema: {
|
|
61
|
+
title: 'Default Branch',
|
|
62
|
+
type: 'string',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
})
|
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "docs-please",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.2.0-beta.0",
|
|
5
|
+
"description": "Nuxt layer for documentation sites using shadcn-vue",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/pleaseai/docs.git"
|
|
10
|
+
},
|
|
11
|
+
"main": "./nuxt.config.ts",
|
|
12
|
+
"files": [
|
|
13
|
+
"README.md",
|
|
14
|
+
"app",
|
|
15
|
+
"content.config.ts",
|
|
16
|
+
"i18n",
|
|
17
|
+
"lib",
|
|
18
|
+
"modules",
|
|
19
|
+
"nuxt.config.ts",
|
|
20
|
+
"nuxt.schema.ts",
|
|
21
|
+
"server"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"dev": "nuxt dev",
|
|
25
|
+
"build": "nuxt build",
|
|
26
|
+
"generate": "nuxt generate",
|
|
27
|
+
"preview": "nuxt preview",
|
|
28
|
+
"postinstall": "nuxt prepare",
|
|
29
|
+
"typecheck": "vue-tsc -b"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"nuxt": "^4.0.0"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@iconify-json/lucide": "^1.2.75",
|
|
36
|
+
"@nuxt/content": "^3.8.2",
|
|
37
|
+
"@nuxt/eslint": "^1.11.0",
|
|
38
|
+
"@nuxt/icon": "^2.1.0",
|
|
39
|
+
"@nuxt/image": "^2.0.0",
|
|
40
|
+
"@nuxt/kit": "^4.2.1",
|
|
41
|
+
"@nuxtjs/color-mode": "^4.0.0",
|
|
42
|
+
"@nuxtjs/mdc": "^0.18.4",
|
|
43
|
+
"@tabler/icons-vue": "^3.35.0",
|
|
44
|
+
"@vueuse/core": "^14.1.0",
|
|
45
|
+
"class-variance-authority": "^0.7.1",
|
|
46
|
+
"clsx": "^2.1.1",
|
|
47
|
+
"debug": "^4.4.1",
|
|
48
|
+
"defu": "^6.1.4",
|
|
49
|
+
"eslint": "^9.39.1",
|
|
50
|
+
"exsolve": "^1.0.8",
|
|
51
|
+
"lucide-vue-next": "^0.555.0",
|
|
52
|
+
"nuxt-og-image": "^5.1.12",
|
|
53
|
+
"oxc-parser": "^0.99.0",
|
|
54
|
+
"parse5": "^7.3.0",
|
|
55
|
+
"rehype-raw": "^7.0.0",
|
|
56
|
+
"reka-ui": "^2.6.1",
|
|
57
|
+
"remark-emoji": "^5.0.1",
|
|
58
|
+
"remark-gfm": "^4.0.1",
|
|
59
|
+
"remark-mdc": "^3.5.1",
|
|
60
|
+
"remark-rehype": "^11.1.2",
|
|
61
|
+
"shadcn-nuxt": "2.3.3",
|
|
62
|
+
"slugify": "^1.6.6",
|
|
63
|
+
"tailwind-merge": "^3.4.0",
|
|
64
|
+
"tailwindcss": "^4.1.17",
|
|
65
|
+
"tw-animate-css": "^1.4.0",
|
|
66
|
+
"ufo": "^1.6.1",
|
|
67
|
+
"unified": "^11.0.5",
|
|
68
|
+
"unist-util-visit": "^5.0.0",
|
|
69
|
+
"zod": "^3.25.76",
|
|
70
|
+
"zod-to-json-schema": "^3.25.0"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@tailwindcss/vite": "^4.1.17",
|
|
74
|
+
"better-sqlite3": "^11.9.1",
|
|
75
|
+
"typescript": "^5.9.3",
|
|
76
|
+
"vue-tsc": "^2.0.0"
|
|
77
|
+
},
|
|
78
|
+
"publishConfig": {
|
|
79
|
+
"tag": "beta"
|
|
80
|
+
}
|
|
81
|
+
}
|