[PATCH] improve dynamic documentation generation for CL functions