cli, docs: Add a docs command for doc generation
This took a lot longer than it looks to get right. It's not perfect, but it now reliably generates documentation which we can put into gohugo.
This commit is contained in:
@@ -49,7 +49,8 @@ type NoopRes struct {
|
||||
|
||||
init *engine.Init
|
||||
|
||||
Comment string `lang:"comment" yaml:"comment"` // extra field for example purposes
|
||||
// Comment is a useless comment field that you can use however you like.
|
||||
Comment string `lang:"comment" yaml:"comment"`
|
||||
}
|
||||
|
||||
// Default returns some sensible defaults for this resource.
|
||||
|
||||
Reference in New Issue
Block a user