Use node name in tree path node doc api nav link header list

This commit is contained in:
Willem Cazander 2025-01-20 22:12:58 +01:00
parent 55f7032bf6
commit cb7f172e7d

View file

@ -417,7 +417,7 @@ public class ApiDocGenerator implements ApiDocContentPrinter {
} }
ApiDocNode node = nodes.next(); ApiDocNode node = nodes.next();
writer.printTagStart(Tag.ul, ApiDocContentCss.inheritance); writer.printTagStart(Tag.ul, ApiDocContentCss.inheritance);
String nodeTitle = node.getId(); String nodeTitle = node.getName();
if (nodes.hasNext()==false) { if (nodes.hasNext()==false) {
writer.printTagStart(Tag.li); writer.printTagStart(Tag.li);
writer.printCharacters(nodeTitle); writer.printCharacters(nodeTitle);