www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Link to dsource on each Phobos module doc

reply "Yao G." <nospamyao gmail.com> writes:
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.
Aug 22 2010
parent BCS <none anon.com> writes:
Hello Yao G.,

 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.
 
If that's not trivial to do, then DDoc needs some work to make it trival. -- ... <IXOYE><
Aug 22 2010