www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9696] New: Ddoc should provide macro on types to allow injecting links to definitions

http://d.puremagic.com/issues/show_bug.cgi?id=9696

           Summary: Ddoc should provide macro on types to allow injecting
                    links to definitions
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ddoc
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-03-11
21:24:51 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 11 2013