Woodpecker Plugin for creating netlify previews on PRs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
313 B

//go:build generate
package main
import "os"
//go:generate go run app.go docs.go
func main() {
md, err := app().ToMarkdown()
if err != nil {
panic(err)
}
fi, err := os.Create("DOCS.md")
if err != nil {
panic(err)
}
defer fi.Close()
if _, err := fi.WriteString(md); err != nil {
panic(err)
}
}