doctest warnings #833
Replies: 2 comments
-
|
I'm still trying to wrap my head around what parts of the API reference get automatically generated, and which require files to be manually generated. So my approach might change as we learn more. I think what's happening is that Sphinx is looking through the folder I don't think we should be making all those stub files, I looked at the pandas and scipy folders and it would be impractical to make a file for every single method. You can set I think the overall toctree is designed manually instead, with the content pulled automatically from the docstrings. I'm not sure whether we need to add that line to |
Beta Was this translation helpful? Give feedback.
-
|
copilot suggested i agree that we want to manually make those stub files. however, it leaves the issue of the autosummary of the methods only shows the first line of the docstring. take i think scipy's setup is what we want. each estimator has its page (e.g. logisticregression from scipy, for us it would be development or chainladder). within the page you can see all the parameters, attributes, and methods. pandas has a separate page for each function under series or dataframe, which is probably too crowded for us. i tried adding :members: to Development.rst but it didn't do anything. Will play around with it more. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@genedan @EKtheSage doctest is being passive aggressive and spitting out a metric ton of warnings. Is this intentional? Does it have the potential to break anything
Beta Was this translation helpful? Give feedback.
All reactions