DOC: fix api doc build warning