That way they'd be easier to share. Their styling could be much like headers in the specification pages.
I'm not sure this is possible in current DDoc. We have DDOC_ANCHOR but it's a "hook"; the doc generator automatically instantiates it for each symbol. The relevant place to override for this is DDOC_PSYMBOL, which only knows the completely unqualified name of the symbol, which is unsuitable for links.
Comment #1 by jakobovrum — 2016-01-08T11:17:21Z
(In reply to Jakob Ovrum from comment #0)
> That way they'd be easier to share. Their styling could be much like headers
> in the specification pages.
>
> I'm not sure this is possible in current DDoc. We have DDOC_ANCHOR but it's
> a "hook"; the doc generator automatically instantiates it for each symbol.
> The relevant place to override for this is DDOC_PSYMBOL, which only knows
> the completely unqualified name of the symbol, which is unsuitable for links.
I was also thinking we could add something to put the fully qualified name (including packages and module) of the symbol in the alt text or something, which might help improving search engine results.
Comment #2 by robert.schadek — 2024-12-13T18:46:24Z