How to build hugo docs?

It is a newbie question.

I was given this link to find post-stable-release changes to docs in this link.

when I ran go get

error came.

How to download / clone this branch and build latest doc html site>

Please help

First you have to clone the repository:

git clone

Now, you can find the latest documentation for the currently developed version on the master branch. For older versions you have to switch to branches like Replace 17 with any version number of Hugo to get the docs for older versions.

Be sure you are in the root directory of the cloned repository and run

hugo server -s docs