Refine make_doc/0