On Wednesday, 27 July 2016 at 09:56:44 UTC, Sönke Ludwig wrote:
Am 27.07.2016 um 11:43 schrieb Chris:
For one reason or another I sometimes find myself checking out the implementation of functions in Phobos. For this I have to go to the module file on Github, e.g. this one [1], and look for the function (that often has more than one implementation). Wouldn't it be nice to have a direct link from the documentation of the function to the source
code? Is that feasible at all?

[1] https://github.com/dlang/phobos/blob/master/std/algorithm/searching.d

The new docs have that:
http://dlang.org/library/std/algorithm/searching/all.html

(click the "View source code" link at the top of the page)

Great! Maybe "View source code" could be either more visible (stronger color/gray) or near the function name. The reason I say this is that a lot of people will not find it and ask here where the link to the source code is.

Reply via email to