misc: add build_origin_doc to easily build reference document from master