www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15528] New: [DDoc] Make symbols in Phobos documentation links


          Issue ID: 15528
           Summary: [DDoc] Make symbols in Phobos documentation links to
                    their own fragments
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: jakobovrum gmail.com

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.

Jan 08 2016