code: protected Content getPackage(PackageDoc pd, String profileName) {
          Content packageLinkContent;
          Content pkgLabel;
          if (pd.name().length() > 0) {
              pkgLabel = getPackageLabel(pd.name());
              packageLinkContent = getHyperLink(pathString(pd,
                       DocPaths.profilePackageFrame(profileName)), pkgLabel, "",
                      "packageFrame");
          } else {
              pkgLabel = new StringContent("<unnamed package>");
              packageLinkContent = getHyperLink(DocPaths.PACKAGE_FRAME,
                      pkgLabel, "", "packageFrame");
          }
          Content li = HtmlTree.LI(packageLinkContent);
          return li;
      }
docs: Gets each package name as a separate link.
  
  @param pd PackageDoc
  @param profileName the name of the profile being documented
  @return content for the package link