Hi, what is the state of the art in using sphinx-a...
# general
f
Hi, what is the state of the art in using sphinx-apidoc and sphinx-build within pants? I have found a bunch of old threads where people mix a custom plugin that adds all python sources to a target (https://pantsbuild.slack.com/archives/C046T6T9U/p1708683913827849?thread_ts=1708633247.357399&cid=C046T6T9U) with adhoc_tool or similar to run sphinx from a sandbox that at that point should have all dependencies inside. Is there a better system today?
c
My usecase might not be helpful for you, since I only really need it for 1 project, but you can see what I've done for sphinx docs for grafanarmadillo . I wrote up some of the reasoning for it. I think you could list all the deps with
pants list --filter-target-type=python_distribution ::
and paste them in. Though, this comes with the burden of having to update the list every time you add a new one