hugo-multiversion

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

README

hugo-multiversion

This is a really simple CLI tool that makes managing multi-version Hugo sites easier.

It clones a repository containing content at multiple different revisions, and assembles an 'output' content directory containing all the versioned content.

This allows you to maintain documentation/content for different versions in different branches, allowing you to easily cherry pick changes around.

Usage

go run . \
    --repo-url https://github.com/cert-manager/docs.git \
    --repo-content-dir docs/
    --output-dir output/ \
    --latest-branch=release-0.12 \
    --branches v0.12=release-0.12,v0.11=release-0.11 \

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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