[Issue 15683] broken link in DDoc

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Feb 14 21:01:11 PST 2016


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

--- Comment #3 from Adam D. Ruppe <destructionator at gmail.com> ---
Check out the Emphasis header here:
http://dlang.org/spec/ddoc.html

(seriously, still not linked? ugh)


What happens is ddoc thinks any name it recognizes in the current scope needs
to be emphasized and wraps it in a DDOC_PSYMBOL macro, which the Phobos docs
expand to <i>$0</i>.

You can suppress it by prefixing the word with a _. That brings pain in other
areas, but would work to fix this immediate problem.

So replace the word "range" with "_range" in the Phobos source.

We could also consider redefining the DDOC_PSYMBOL to be plain $0, kinda
disabling this horrible misfeature site-wide.

--


More information about the Digitalmars-d-bugs mailing list