Repository navigation
The map now works on big modules. It used to shrink to fit the page, so Hugo's labels were too small to read and Kubernetes' map collapsed to a strip. Long rows now wrap and the map scrolls at full size, so names stay readable at any size.
Picking a package in the lists brings it into view on the map. The page opens on your module's own package, or its largest, and long package names break at a slash.
Tested against a plain-text count on cobra, gin, hugo, prometheus and kubernetes: packages, files and functions all match. Kubernetes (1,278 packages, 34,823 functions) takes under 2 seconds.
go run github.com/peterretief/codemap@latest -o code-map.html