Documentation
¶
Overview ¶
Package pagesroll inserts the pagesbuild step into a docs repository's .github/workflows/docs.yml, exactly as go-redfish/docs#11 did, and refuses a workflow whose deploy job does not have the shape that change was proven on.
Index ¶
Constants ¶
const DefaultVersion = "v0.80.0"
DefaultVersion is the fleettools release the reference change pinned.
const Workflow = ".github/workflows/docs.yml"
Workflow is the path of the file, relative to a docs checkout.
Variables ¶
var ErrAlready = errors.New("already has pagesbuild")
ErrAlready: the workflow already runs pagesbuild.
var ErrRefused = errors.New("refused")
ErrRefused wraps every refusal: the workflow is not the known shape.
Functions ¶
func Apply ¶
Apply returns src with the change made. It returns ErrAlready (and src) when pagesbuild is there, and an ErrRefused when the deploy job is not the known shape; it never returns a half-edited text.
Types ¶
This section is empty.