package yaml

import "github.com/docker/compose/v2/docs/yaml"

Index

Functions

func GenYamlCustom

func GenYamlCustom(cmd *cobra.Command, w io.Writer) error

GenYamlCustom creates custom yaml output nolint: gocyclo

func GenYamlTree

func GenYamlTree(cmd *cobra.Command, dir string) error

GenYamlTree creates yaml structured ref files

func GenYamlTreeCustom

func GenYamlTreeCustom(cmd *cobra.Command, dir string, filePrepender func(string) string) error

GenYamlTreeCustom creates yaml structured ref files

func ParseMDContent

func ParseMDContent(mdString string) (description string, examples string)

ParseMDContent parse markdown file looking for Description and Examples sections

Source Files

yaml.go

Directories

PathSynopsis
docs/yaml/main
Version
v2.0.0-rc.3
Published
Sep 4, 2021
Platform
windows/amd64
Imports
9 packages
Last checked
1 hour ago

Tools for package owners.