www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Link the source

reply bearophile <bearophileHUGS lycos.com> writes:
The great Raymond Hettinger suggests to put links to the (github) source code
inside the docs, this was done by Tango docs, but not enough by Phobos docs:

http://rhettinger.wordpress.com/2011/01/28/open-your-source-more/

https://groups.google.com/group/comp.lang.python/browse_thread/thread/0ead7571edfdc6d7

Bye,
bearophile
Feb 05 2011
parent Adam D. Ruppe <destructionator gmail.com> writes:
I added automatic source linking to my "improveddoc" program.

http://arsdnet.net/d-web-site/std_stdio.html (see the link on the right)

If this reaches the point where it is good enough for the official
site, we'll have it there too.

It needs to know the commit ID of the release to link to the file.
This way, you are looking at the same source you are reading the
documentation for, to avoid version confusion.
Feb 05 2011