To build the docs locally, install hugo:

CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.118.2

And run:

cd docs
hugo server

# Served on http://localhost:1313/

You can now modify content inside docs/content, and the local webserver will automatically render changes on save.

To create a new page you can either copy an existing one and modify the header, or run:

hugo new docs/backend/<name_of_page>.md

Don’t forget to set draft in the header to false.

If you want hugo to render draft pages, run hugo server -D.