File tree 2 files changed +2681
-13
lines changed
2 files changed +2681
-13
lines changed Original file line number Diff line number Diff line change @@ -12,24 +12,19 @@ tasks:
12
12
desc : " Generate documentation"
13
13
aliases : [codegen, gen]
14
14
cmds :
15
- - task : generate:internal
16
- - task : generate:plugin
15
+ - task : generate:docs
17
16
- task : fmt
18
17
19
- generate:internal :
20
- internal : true
21
- desc : " Generate internal API godocs."
22
- cmds :
23
- - cd '{{.root}}/internal' && go-fsck docs ./... > ../docs/dev/internal.md
24
-
25
- generate:plugin :
18
+ generate:docs :
26
19
internal : true
27
20
desc : " Generate plugin API godocs."
28
21
cmds :
29
- - cd '{{.root}}/ctx' && go-fsck docs . > ../docs/dev/plugin-apis.md && cd ..
30
- - cd '{{.root}}/user' && go-fsck docs . >> ../docs/dev/plugin-apis.md && cd ..
31
- - cd '{{.root}}/storage' && go-fsck docs . >> ../docs/dev/plugin-apis.md && cd ..
32
- - cd '{{.root}}/log' && go-fsck docs . >> ../docs/dev/plugin-apis.md && cd ..
22
+ - cd '{{.root}}/internal' && go-fsck docs ./... > ../docs/dev/internal.md
23
+ - cd '{{.root}}/apidef/oas' && go-fsck docs . > ../../docs/dev/oas-apis.md
24
+ - cd '{{.root}}/ctx' && go-fsck docs . > ../docs/dev/plugin-apis.md
25
+ - cd '{{.root}}/user' && go-fsck docs . >> ../docs/dev/plugin-apis.md
26
+ - cd '{{.root}}/storage' && go-fsck docs . >> ../docs/dev/plugin-apis.md
27
+ - cd '{{.root}}/log' && go-fsck docs . >> ../docs/dev/plugin-apis.md
33
28
34
29
fmt :
35
30
desc : " Run mdox to format markdowns"
You can’t perform that action at this time.
0 commit comments