code: private void createReportLink (final Sink sink, final File sourceDirectory, final File grammarFile, String linkPath)
    {
      sink.tableRow ();
      sink.tableCell ();
      if (linkPath.startsWith ("/"))
      {
        linkPath = linkPath.substring (1);
      }
      sink.link (linkPath);
      String grammarFileRelativePath = sourceDirectory.toURI ().relativize (grammarFile.toURI ()).toString ();
      if (grammarFileRelativePath.startsWith ("/"))
      {
        grammarFileRelativePath = grammarFileRelativePath.substring (1);
      }
      sink.text (grammarFileRelativePath);
      sink.link_ ();
      sink.tableCell_ ();
      sink.tableRow_ ();
    }
docs: Create a table row containing a link to the JJDoc report for a grammar
  file.
  
  @param sink
  The sink to write the report
  @param sourceDirectory
  The source directory of the grammar file.
  @param grammarFile
  The JavaCC grammar file.
  @param linkPath
  The path to the JJDoc output.