Automatic link generation for related resources