Documentation ¶
Index ¶
Constants ¶
View Source
const (
DocsRepo = "solo-docs"
)
Variables ¶
This section is empty.
Functions ¶
func CreateDocsPR ¶
Example: CreateDocsPR("solo-io", "gloo", "gloo", "gloo", "v0.8.2", "docs/v1/github.com/solo-io/gloo", "docs/v1/github.com/solo-io/solo-kit", "docs/v1/gogoproto", "docs/v1/google")
func CreateDocsPRFromSpec ¶
func CreateDocsPRFromSpec(spec *DocsPRSpec) error
func CreateDocsPRSimple ¶
Useful for cases where repo == docs product name == changelogPrefix name
func PushDocsCli ¶
func PushDocsCli(spec *DocsPRSpec)
Types ¶
type DocsPRSpec ¶
type DocsPRSpec struct { // Repo owner, i.e. "solo-io" Owner string // Repo, i.e. "solo-projects" Repo string // Release tag, i.e. "v0.8.5" Tag string // Product in docs, i.e. "gloo" Product string // Prefix to the changelog file in the docs repo, i.e. "glooe" -> push changelog to solo-docs/<product>/docs/changelog/glooe-changelog ChangelogPrefix string // Path to the directory containing "docs", i.e. "projects/gloo/doc DocsParentPath string // Paths to generated API doc directory that should be copied into docs, i.e. "docs/v1/github.com/solo-io/gloo" ApiPaths []string // can be nil // Individual files to copy. Files Files // Prefix of the CLI docs files, i.e. "glooctl" CliPrefix string // empty means don't copy docs files }
Click to show internal directories.
Click to hide internal directories.