Skip to content

Quick sketch for cross-linking

Matthias Clasen requested to merge matthiasc/gi-docgen:cross-links into master

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

Merge request reports