Documentation status of classes and functions #3037
Replies: 4 comments 3 replies
-
For RateMap, the plan was to move the documentation from msprime. See #2679. I think we can probably just go with that now, and export the tskit rate map under the hood in msprime to maintain backwards compatibility? |
Beta Was this translation helpful? Give feedback.
-
@jeromekelleher and I had a recent discussion about this. We thought it best if we explicitly export in the |
Beta Was this translation helpful? Give feedback.
-
Do you want me to add these to the things which I know for sure are internal, such as |
Beta Was this translation helpful? Give feedback.
-
Wow, that's very useful. I see a fair number of yellow things are used-to-be-in-the-API-but-deprecated. |
Beta Was this translation helpful? Give feedback.
-
Seeing we have now released 0.6.0 I thought it was a good time to review the documentation. I've prepared a report at https://lime-onida-78.tiiny.site/ (note that the report won't detect inheritance so for example the table base class looks undocumented)
Some initial thoughts:
We want to have undocumented methods, so yellow and red here are not "bad" - but we should be sure that this is intended. As such I think adding
_
before deliberately internal methods may be useful. (These are mostly the yellow items) If you think this will be a lot of visual noise for not much gain please speak up.The red items are where we have a docstring but it doesn't make it to the HTML documentation. This is often deliberate as we don't make early, experimental APIs documented as once something is in the HTML documentation we commit to not breaking it where possible, so this lets us iterate without that commitment.
However I'm sure we forgotten some things that are now mature, for example there is quite a bit in the combinatorics code, and things like RateMap.
Beta Was this translation helpful? Give feedback.
All reactions