sphinx-autoapi
sphinx-autoapi copied to clipboard
[Bug] Not working with `lazy-loader`
I am using lazy-loader for lazy importing. However, I found that sphinx-autoapi cannot generate docs for lazily imported functions, classes, etc.
Here is a simple demo where docs for normal functions is generated correctly while docs for lazily imported functions is missing.
I guess this is because sphinx-autoapi extracts the contents by parsing the syntax tree directly, rather than evaluating the python script.