The pkgroot variable isn't expanded when present in the haddock-html field. This leads to broken links in documentation when you are generating haddocks locally. For example, links to identifiers defined in base if your distribution has relative links in package registrations.
Found whilst investigating #11215