#786 Adapting documentation generation