docs: private void renderAsLI(Writer writer, ProjectModel project, Iterator<Link> links, boolean wrap) throws IOException
      {
          if (!links.hasNext())
              return;
  
          if (wrap)
              writer.append("<ul>");
          while (links.hasNext())
          {
              Link link = links.next();
              writer.append("<li>");
              renderLink(writer, project, link);
              writer.append("</li>");
          }
          if (wrap)
              writer.append("</ul>");
      }