Docs: Links to source code

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 27 02:56:44 PDT 2016


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)


More information about the Digitalmars-d mailing list