make test: improve documentation generation