prepare for preview of github page directly