When installing hugo install the extended
edition at version v0.134.0
. You
can find it on the Hugo release
page or build it with a
working Go toolchain:
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/[email protected]
To develop locally you need to also follow the docsy pre-req. But in most cases it should work to just run
cd hugo
# Install npm dependencies
npm ci
# Download hugo module
hugo mod get
To look at your changes with hot reload.
hugo serve
To detect broken links in documentation using muffet:
- Make sure that hugo is running and serving documentation as specified in the abbove steps.
- Run the following command in the hugo directory:
make detect-broken-links