def _add_detailed_menu(name: str) -> None:
    entries = self.node_menus[name]
    if (not entries):
        return
    self.body.append(('\n%s\n\n' % self.escape(self.node_names[name])))
    self.add_menu_entries(entries)
    for subentry in entries:
        _add_detailed_menu(subentry)
def _add_detailed_menu(name: str) -> None:
    entries = self.node_menus[name]
    if (not entries):
        return
    self.body.append(('\n%s\n\n' % self.escape(self.node_names[name])))
    self.add_menu_entries(entries)
    for subentry in entries:
        _add_detailed_menu(subentry)