Thread overview
[Issue 10365] New: Anchors in ddoc are generated with a leading dot
Jun 15, 2013
Jacob Carlborg
Jun 16, 2013
Andrej Mitrovic
Jun 16, 2013
Jacob Carlborg
Jun 16, 2013
Jonathan M Davis
Jun 16, 2013
Andrej Mitrovic
June 15, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10365

           Summary: Anchors in ddoc are generated with a leading dot
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: doob@me.com


--- Comment #0 from Jacob Carlborg <doob@me.com> 2013-06-15 12:14:15 PDT ---
Example:

http://dlang.org/phobos/std_process.html#.Pid.processID

The anchor name is ".Pid.processID" instead with an leading dot. That will result in ugly names when referring to that symbol:

$(XREF process, .Pid.processID)

Will expand to a link with the text:

std.process..Pid.processID

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 16, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10365


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-15 17:39:50 PDT ---
I don't understand how that page ended up with the leading dot, when building locally this doesn't happen for me.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 16, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10365



--- Comment #2 from Jacob Carlborg <doob@me.com> 2013-06-16 03:41:27 PDT ---
It happens for me locally and, as you see, on dlang.org as well.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 16, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10365


Jonathan M Davis <jmdavisProg@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg@gmx.com


--- Comment #3 from Jonathan M Davis <jmdavisProg@gmx.com> 2013-06-16 03:49:51 PDT ---
Maybe it depends on the platform you're on for some reason? IIRC, the site gets generated on Linux, Jacob uses Mac OS X, and Andrej uses Windows, so maybe the posix builds end up adding a dot for some reason, but the Windows builds don't?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 16, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10365



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-16 06:03:43 PDT ---
We need a small test-case first.

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