update doc
improve default templates; fix local url when dest dir is relative; typo