Adapt urls for github hosting