Link to dsource on each Phobos module doc

Yao G. nospamyao at gmail.com
Sun Aug 22 17:18:18 PDT 2010


Hello.

Sometimes, when reading the documentation of a Phobos module in  
http://digitalmars.com/d/2.0/phobos/phobos.html, I want to check the  
original, colored source code, as shown in the dsource.org page. However  
one has to go from the Phobos web page, to the Phobos repo on dsource and  
then search for that module. I think that it would be nice to have a link,  
for each of the Phobos module pages, to the pertinent source code on  
dsource.

For example, for the std.uri module  
(http://digitalmars.com/d/2.0/phobos/phobos.html), the link to the source  
code would be  
http://www.dsource.org/projects/phobos/browser/trunk/phobos/std/uri.d
Obviously, there would be a remark indicating that the code version is  
 from the trunk, not stable branch. This is even more important when the  
module lacks, or is poorly documented and the only way to really know  
what's happening, is to read the source.

So, do you think that this is feasible? Or it's too much work for  
something not so important. Maybe a DDOC Macro could be handy. I can  
volunteer to do it.


-- 
Yao G.


More information about the Digitalmars-d mailing list