fix apidocs build failure
Revert "fix apidocs build failure"

This reverts commit f731781f49328a48a0476c3e766a814a48b3f77e.