docs

package
v1.1.0-rc Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LocalOperatorRepositoryEnv = "PORTER_OPERATOR_REPOSITORY"
	PreviewContainer           = "porter-docs"

	// DefaultOperatorSourceDir is the directory where the Porter Operator docs
	// are cloned when LocalOperatorRepositoryEnv was not specified.
	DefaultOperatorSourceDir = "docs/sources/operator"
)

Variables

This section is empty.

Functions

func Docs

func Docs()

Build the website in preparation for deploying to the production website on Netlify. Uses symlinks so it won't work on Windows. Don't run locally, use DocsPreview instead.

func DocsBranchPreview

func DocsBranchPreview()

Build a branch preview of the website.

func DocsPreview

func DocsPreview()

Preview the website locally using a Docker container.

func DocsPullRequestPreview

func DocsPullRequestPreview()

Build a pull request preview of the website.

Types

This section is empty.

Jump to

Keyboard shortcuts

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