On Mon, Feb 24, 2025 at 06:27:39AM +0000, Werner LEMBERG wrote: > > I was just bitten by the undocumented feature that `texi2any` > generates a `@detailmenu` block if it auto-generates menus, and the > top-level menu of a document is not present. > > Please make this controllable. For example, an empty > > ``` > @detailmenu > @end detailmenu > ``` > > block at the top-level could indicate that a `@detailmenu` block > should be auto-generated.
Could we not do the opposite? That is, make an empty @detailmenu block *suppress* autogeneration of a detailmenu. It would make sense to me, that if a @detailmenu block already exists, then a new one should not be generated.