documentation generation improvement