Bug 9696 – Ddoc should provide macro on types to allow injecting links to definitions

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-03-11T21:24:51Z
Last change time
2024-12-13T18:04:44Z
Keywords
ddoc
Assigned to
No Owner
Creator
Andrej Mitrovic
Moved to GitHub: dmd#17576 →

Comments

Comment #0 by andrej.mitrovich — 2013-03-11T21:24:51Z
Take this for example: http://dlang.org/phobos/std_algorithm.html#levenshteinDistanceAndPath The return type is: "Tuple!(size_t, EditOp[])" However EditOp is documented almost a page up, it's easy to miss. Ddoc should add some kind of macro to the type so we can make the types clickable, which would take us to: http://dlang.org/phobos/std_algorithm.html#EditOp I'm not sure if this might already be doable without touching ddoc code.
Comment #1 by robert.schadek — 2024-12-13T18:04:44Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17576 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB