Quick sketch for cross-linking
From [struct@Pango.Attribute]
, generate
<a href="javascript:void(0)" onClick="followLink('Pango','struct.Attribute.html')">PangoAttribute</a>
And have a separate .js script that defines a map:
[ [ 'Gtk', '' ], [ 'Pango', 'base url for pango' ] ]
Left to do: Define a way to inject that map. It shouldn't live with the templates.
Edited by Matthias Clasen