use github url validation on doc and source urls

addresses #217