Documentation ¶
Index ¶
- func Build(docsPath string, meta BuildMetadata) (string, error)
- func WriteConfig(configPath string, config Config) error
- type BuildMetadata
- type Config
- type Docat
- func (docat *Docat) Claim(project string) (ProjectClaim, error)
- func (docat *Docat) Delete(project string, version string) error
- func (docat *Docat) HideOrShowVersion(project string, version string, hide bool) error
- func (docat *Docat) Post(project string, version string, docsPath string) error
- func (docat *Docat) PushIcon(project string, iconPath string) error
- func (docat *Docat) Rename(project string, newName string) error
- func (docat *Docat) Tag(project string, version string, tag string) error
- type ProjectClaim
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteConfig ¶ added in v0.6.0
Types ¶
type BuildMetadata ¶ added in v0.6.0
type BuildMetadata struct { Host string `yaml:"host,omitempty"` Project string `yaml:"project,omitempty"` Version string `yaml:"version,omitempty"` }
func ExtractMetadata ¶ added in v0.6.0
func ExtractMetadata(docsPath string) (BuildMetadata, error)
type Docat ¶
func (*Docat) HideOrShowVersion ¶ added in v1.0.0
type ProjectClaim ¶
type ProjectClaim struct {
Token string
}
Click to show internal directories.
Click to hide internal directories.