Bug 15528 – [DDoc] Make symbols in Phobos documentation links to their own fragments

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-01-08T11:15:53Z
Last change time
2024-12-13T18:46:24Z
Assigned to
No Owner
Creator
Jakob Ovrum
Moved to GitHub: dmd#19085 →

Comments

Comment #0 by jakobovrum — 2016-01-08T11:15:53Z
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
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19085 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB