doc

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StartTag = `<cfndoc>`
	EndTag   = `</cfndoc>`
)

TODO - Parse CfnDoc as yaml field instead of comment, then group by resource type

Variables

This section is empty.

Functions

func Doc

func Doc() error

Preview auto-generated documentation in out/doc

Types

type ResourceDoc

type ResourceDoc struct {
	FieldName     string // "QueueName", "FunctionName", etc
	Resource      string // referenced label
	Documentation string
}

func Parse

func Parse(cfn string) (docs []*ResourceDoc)

func ReadCfn

func ReadCfn(paths ...string) (docs []*ResourceDoc, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL