code: private String fixApiDocRoot(String str) {
  	if (str == null)
  	    return null;
  	String fixed = str.trim();
  	if (fixed.isEmpty())
  	    return "";
  	if (File.separatorChar != '/')
  	    fixed = fixed.replace(File.separatorChar, '/');
  	if (!fixed.endsWith("/"))
  	    fixed = fixed + "/";
  	return fixed;
      }
docs: Trim and append a file separator to the string