Afaik, documentation generation currently works reliably on Linux, and possibly on Windows. macOS is definitely broken.