On Thu, 4 Apr 2019 at 10:56, Peter Olsson wrote: > > Hello, > > I often want to link to specific compiler options in your online docs > but the problem is that the named anchors are placed after the name of > the option so when the link is clicked it will only show the > description. > > Example: > https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wshadow > Will show the description for -Wshadow but not the name -Wshadow itself. > > I think it would be very useful to be able to link in such a way that > the name of the option also becomes visible. If this somehow breaks > backwards compatibility you could introduce new ones that refers to > the name and let the old ones refer to the description like it is > today.
Yes, it's annoying. The HTML is auto-generated by the makeinfo program, so as far as I know we don't have much control over the placement of those anchors.