I agree that it would be nice to have that kind of linking between
sections. Similar connections exist e.g. HTML and APIs or SVG and CSS,
which could also profit from a better a better sidebar reference.
Note that the group info for CSS properties, @-rules and so on is
currently stored within CSSData.
So, to avoid redundancy, I see two options:
1. Add the CSS related items to GroupData, change APIRef to also read
the group info for CSS related data and CSSRef (and maybe other
macros) to use the group info from GroupData - or alternatively create
a new macro that combines the logic of APIRef and CSSRef - and remove
the "group" attributes from CSSData.
2. Change APIRef to read the group info for CSS related items from
CSSData and change CSSRef to read the group info of API related items
from GroupData.
I lean towards option 1, as it summarizes the group information at a
single place and allows to incorporate more related info, but it also
requires more work.
Sebastian
> _______________________________________________
> dev-mdc mailing list
>
dev...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-mdc
> MDN contributor guide:
http://bit.ly/ContributorGuide