[PATCH 9/9] docs: newapi: Fix generation of type definition tables