adding source urls for sample code, adding ruby for APIDoc