Skip to content

Commit 2376593

Browse files
committed
Remove ./pkg/controller from docs/gen search paths
It doesn't seem that there are any files in pkg/controller that would be necessary for documentation generation. Fixes #249.
1 parent 10fc5c7 commit 2376593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kubebuilder/docs/gen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func (g CodeGenerator) Execute(dir string) error {
2222
if err != nil {
2323
return fmt.Errorf("Failed making a parser: %v", err)
2424
}
25-
for _, d := range []string{"./pkg/apis", "./pkg/controller", "./pkg/inject"} {
25+
for _, d := range []string{"./pkg/apis", "./pkg/inject"} {
2626
if err := b.AddDirRecursive(d); err != nil {
2727
return fmt.Errorf("Failed making a parser: %v", err)
2828
}

0 commit comments

Comments
 (0)