Bug 7195 – remove in std.algorithm documentation quick links goes to wrong remove

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2012-01-01T15:19:00Z
Last change time
2015-06-09T05:14:41Z
Assigned to
nobody
Creator
eco

Comments

Comment #0 by eco — 2012-01-01T15:19:56Z
It gets linked to remove member of the EditOps enum rather than one of the remove functions. I don't know DDoc enough (or at all) to resolve this but I did take a look. It's just using "$(MYREF remove)" in the quick links which I guess just uses the first remove it sees (EditOps appears earlier in the file than remove()).
Comment #1 by issues.dlang — 2012-01-01T15:33:57Z
It's not really fixable. The only thing that could be done would be to reorder the declarations. At present, ddoc produces anchors which have no understanding of hierarchy or overloading. So, all symbols with the same name have the same anchor, and so it's always the first one which gets linked to. In order to fix this, ddoc needs to be improved. There has been talk of doing it, but no one has actually done it yet.
Comment #2 by issues.dlang — 2012-01-01T15:36:08Z
*** This issue has been marked as a duplicate of issue 6017 ***