Home");
- if (files.size() > 1 || !currentFile.getName().equals("index.adoc")) {
- sb.append(" > ");
- }
- for (int i = (files.size() - 1); i >= 0; i--) {
- File file = files.get(i);
- if (file.getName().equals("index.adoc")) {
- continue;
- }
- sb
- .append("
")
- .append(createHumanName(file, dogConfProperties))
- .append("\n");
-
- sb.append(" > ");
-
- }
- sb.append("
");
- String result = sb.toString();
- if (result.endsWith(" > ")) {
- result = result.substring(0, result.length() - 9);
- result = result + "";
- }
- return result + "