ignore doc fields containing `TODO`
This commit is contained in:
parent
94bb33db57
commit
0fe48691e8
|
@ -105,6 +105,10 @@ func main() {
|
|||
} else {
|
||||
docs = strings.Join(camelcase.Split(field.Names[0].Name), " ")
|
||||
}
|
||||
|
||||
if strings.Contains(docs, "TODO") {
|
||||
continue
|
||||
}
|
||||
fieldType := string(b[field.Type.Pos()-1 : field.Type.End()-1])
|
||||
fieldType = strings.ReplaceAll(fieldType, "*", `\*`)
|
||||
|
||||
|
|
|
@ -217,8 +217,3 @@
|
|||
"BUILDNAME" is the name of the build. Currently, no file extension will be
|
||||
used unless it is specified in this option.
|
||||
|
||||
- `ssh_wait_timeout` (time.Duration) - These are deprecated, but we keep them around for BC
|
||||
TODO(@mitchellh): remove
|
||||
|
||||
- `run_once` (bool) - TODO(mitchellh): deprecate
|
||||
|
|
@ -11,6 +11,3 @@
|
|||
does not setup forwarded port mapping for SSH requests and uses ssh_port
|
||||
on the host to communicate to the virtual machine.
|
||||
|
||||
- `ssh_wait_timeout` (time.Duration) - These are deprecated, but we keep them around for BC
|
||||
TODO(@mitchellh): remove
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<!-- Code generated from the comments of the SSHConfig struct in builder/vmware/common/ssh_config.go; DO NOT EDIT MANUALLY -->
|
||||
|
||||
- `ssh_skip_request_pty` (bool) - These are deprecated, but we keep them around for BC
|
||||
TODO(@mitchellh): remove
|
||||
|
||||
- `ssh_wait_timeout` (time.Duration) - These are deprecated, but we keep them around for BC
|
||||
TODO(@mitchellh): remove
|
||||
|
Loading…
Reference in New Issue