when build doc, ignore mock object