Hello, That's a very sensible idea. However, consider some possible use cases for Rust's documentation other than the standard libraries. For example, a software distribution might distribute library documentation as a package. Then it would the most sense for the sources to be distributed with the package. As well, some sources might be autogenerated and therefore not even exist on the Git source tree. This is a neat idea but might need some work. Personally, I dislike the idea of just adding another random option for this but I do think this should be possible somehow. Perhaps, there should be some kind of hook into the documentation builder that allows one to replace source links with links to a source repository? Another worry is that the format of the link would depend upon the specific source host. For example, GitHub has a different syntax for links than Gitorious. This is still a smart idea.
Thank you, Steven Stewart-Gallus _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
