docs/site is a Hugo module, not a Go source module.
- Never run
go mod tidyindocs/site. It removes Hugo theme dependencies, such as Hextra, because they are not Go packages. - Use
make docs-depsor runhugo mod tidyfromdocs/siteinstead. - Running
go mod tidyat the repository root is safe; it does not traverse into the nesteddocs/sitemodule.