Doc compile script