doxygen: fix index watch
@@ -72,8 +72,7 @@ public class MarkdownParsingConfiguration implements MarkupParsingConfiguration
@Override
public TocItem tocItemByPath(ComponentsRegistry componentsRegistry, TableOfContents toc, Path path) {
- // return toc.findTocItem(path);
- if (path.getFileName().toString().startsWith(TocItem.INDEX + ".")) {
+ if (path.getFileName().toString().equals("index.md")) {
return toc.getIndex();
}
