[Bug web/102365] New: Function attribute docs should have an anchor or id on each attribute.
redbeard0531 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 16 12:03:04 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102365
Bug ID: 102365
Summary: Function attribute docs should have an anchor or id on
each attribute.
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: web
Assignee: unassigned at gcc dot gnu.org
Reporter: redbeard0531 at gmail dot com
Target Milestone: ---
https://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Function-Attributes.html
This would make it easier to link to the docs for a specific attribute. There
is currently an anchor on the <dd> tag (eg
https://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Function-Attributes.html#index-g_t_0040code_007bartificial_007d-function-attribute-2500
for artificial), but that will scroll down so that the name of the attribute
isn't shown. Ideally the anchor should be on the <dt> tag instead. A nice
enhancement would be to make the attribute name be a self-link to make it easy
to get the link without needing to poke in the browser's inspect facility.
More information about the Gcc-bugs
mailing list