Set document generation optional with PKG_OPTION name doc.