enhance /pkg/index.html and /pkg/docs/index.html