site/README-HUGO.md
To run this site in a Docker container, you can use make serve-docs from the root directory.
Install the following for an easy to use dev environment:
brew install hugoIf you are running a build on Ubuntu you will need the following packages:
git clone https://github.com/vmware-tanzu/velero and add your own remote.cd velero/sitehugo serve.Hugo Integration plugin: https://plugins.jetbrains.com/plugin/13215-hugo-integration
Preferences... -> PluginsEdit Configurations...+ button to create a new configuration and select Hugohugo serve and make sure it is running under the site directorysite will reload the website automaticallyTo add a new set of versioned docs to go with a new Velero release:
In the root of the repository, run:
# set to the appropriate version numbers
NEW_DOCS_VERSION=vX.Y VELERO_VERSION=vX.Y.Z make gen-docs
[Pre-release only] In site/config.yaml, revert the change to the latest field, so the pre-release docs do not become the default.