Add repository into document