[Issue 15528] New: [DDoc] Make symbols in Phobos documentation links to their own fragments

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jan 8 03:15:53 PST 2016


https://issues.dlang.org/show_bug.cgi?id=15528

          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 at puremagic.com
          Reporter: jakobovrum at 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.

--


More information about the Digitalmars-d-bugs mailing list