Skip to content

Commit

Permalink
Remove ./pkg/controller from docs/gen search paths
Browse files Browse the repository at this point in the history
It doesn't seem that there are any files in pkg/controller that would
be necessary for documentation generation.

Fixes #249.
  • Loading branch information
perotinus committed Jun 14, 2018
1 parent 10fc5c7 commit 2376593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubebuilder/docs/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (g CodeGenerator) Execute(dir string) error {
if err != nil {
return fmt.Errorf("Failed making a parser: %v", err)
}
for _, d := range []string{"./pkg/apis", "./pkg/controller", "./pkg/inject"} {
for _, d := range []string{"./pkg/apis", "./pkg/inject"} {
if err := b.AddDirRecursive(d); err != nil {
return fmt.Errorf("Failed making a parser: %v", err)
}
Expand Down

0 comments on commit 2376593

Please sign in to comment.