File tree Expand file tree Collapse file tree 6 files changed +34
-6
lines changed Expand file tree Collapse file tree 6 files changed +34
-6
lines changed Original file line number Diff line number Diff line change 80
80
"build:vue-components" : " npx vite build -c ./core/build/src/vue-components.ts" ,
81
81
"build:web-components" : " npx vite build -c ./core/build/src/web-components.ts" ,
82
82
"build:functions" : " npx vite build -c ./core/build/src/functions.ts" ,
83
- "build:docs" : " npx vitepress build ../apps/ docs" ,
83
+ "build:docs" : " pnpm buddy build: docs" ,
84
84
"build:pages" : " npx vite-ssg build ./pages -c ./core/build/src/pages.ts" ,
85
85
"build:core" : " pnpm buddy build:core" ,
86
86
"build:buddy" : " npx unbuild" ,
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ import { runCommand } from '@stacksjs/cli'
2
2
import { frameworkPath } from '@stacksjs/path'
3
3
import { NpmScript } from '@stacksjs/types'
4
4
5
- await runCommand ( NpmScript . DevComponents , { cwd : frameworkPath ( ) , verbose : true } )
5
+ await runCommand ( NpmScript . DevDocs , { cwd : frameworkPath ( ) , verbose : true } )
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ export const enum NpmScript {
189
189
Clean = 'rimraf ./pnpm-lock.yaml ./node_modules/ ./.stacks/**/node_modules' ,
190
190
Dev = 'dev' ,
191
191
DevComponents = 'vite --config ./core/build/src/vue-components.ts' ,
192
- DevDocs = 'npx vitepress dev .. /docs' ,
192
+ DevDocs = 'npx vitepress dev ./docs/src ' ,
193
193
DevDesktop = 'dev:desktop' ,
194
194
DevPages = 'dev:pages' ,
195
195
DevFunctions = 'dev:functions' ,
Original file line number Diff line number Diff line change
1
+ # Docs
2
+
3
+ This folder contains the generated Stacks documentation.
4
+
5
+ ## How To
6
+
7
+ To generate the documentation, run the following command:
8
+
9
+ ``` bash
10
+ pnpm run dev
11
+ pnpm run build
12
+ pnpm run deploy
13
+ ```
Original file line number Diff line number Diff line change 35
35
"pnpm" : " >=7.27.0"
36
36
},
37
37
"scripts" : {
38
- "dev" : " rimraf ./src/* && cp -R ../../docs/* ./src && vitepress dev src" ,
39
- "build" : " vitepress build" ,
40
- "deploy" : " "
38
+ "dev" : " pnpm run copy-src && vitepress dev src" ,
39
+ "build" : " pnpm run copy-src && vitepress build" ,
40
+ "preview" : " pnpm run copy-src && vitepress preview" ,
41
+ "deploy" : " pnpm run copy-src && wip" ,
42
+ "copy-src" : " rimraf ./src/* && cp -R ../../docs/* ./src"
41
43
},
42
44
"dependencies" : {
43
45
"@stacksjs/docs" : " workspace:*" ,
Original file line number Diff line number Diff line change
1
+ // import type { DnsRecords } from '@stacksjs/types'
2
+
3
+ /**
4
+ * **DNS Options**
5
+ *
6
+ * This configuration defines all of your DNS options. Because Stacks is fully-typed,
7
+ * you may hover any of the options below and the definitions will be provided. In case
8
+ * you have any questions, feel free to reach out via Discord or GitHub Discussions.
9
+ */
10
+ export default {
11
+ // export default <DnsRecords> {
12
+ a : { } ,
13
+ }
You can’t perform that action at this time.
0 commit comments