-
Notifications
You must be signed in to change notification settings - Fork 182
DOC: Complete API for AMI analyze and normalize #10095
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pllim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whatever layout and presentation style we decide on in this PR would be used as a basis for the rest of the package. Doing the entire package at once would make the PR hard to review and also drag on for too long, causing conflict and wasting developer time, so let's start with AMI (alphabetically selected).
My main priority is fixing doc build warning. Any violation that does not trigger warning (e.g., malformed listing), I will fix if I happen to notice or be asked to only. Beautifying and vetting API doc contents is out of scope here (and would also drag things on). My ticket is only to expose them.
For my sanity, I also alphabetized the intersphinx listing in this PR.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10095 +/- ##
==========================================
+ Coverage 85.72% 85.88% +0.16%
==========================================
Files 367 365 -2
Lines 38235 38210 -25
==========================================
+ Hits 32776 32818 +42
+ Misses 5459 5392 -67 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I'm on board with exposing all our API, but I feel pretty strongly that we need to define a deprecation policy, i.e write down what we consider "public" in the sense that we won't change it without warning. It's one thing to change API that's not documented in a minor release with no change log, which we've been doing for a long time, and another to change that API when it's documented in the readthedocs.
edit: lol, went to my next notification and it's a PR from you that would do the above. I guess this is just a note then that I'd probably prefer if that one went in first.
I've seen a few typos and things that don't render right within docs that you didn't touch here. Do you want me to flag those, and basically have a careful read through everything that's newly rendered here? If so, it'll take longer - there are a lot of new docstrings exposed here.
Sure. But as I commented in #10095 (review) , carefully reading through all the docs would take too long and probably not worth the cost. Once they are exposed, if user complain about some typo later, we can fix as needed. However if you already noticed them and point them out exactly where, I can fix up real quick as part of this PR.
@melanieclarke told me to prioritize this ticket first. But that said, the whole ticket is going to take a while. This is just AMI stuff. So chances are the policy (#10096) would actually go in first before this ticket is done as a whole. Not sure if this elevates your concern or not. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
4694a1e to
ac95708
Compare
|
Re: #10095 (comment) I removed the offending periods and added Ned as commit co-author. I will mark the comment as resolved to ease future review handling. Thanks! |
ac95708 to
79a8600
Compare
This comment was marked as outdated.
This comment was marked as outdated.
emolter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Pey-Lian, this is looking good. I noticed a few small things.
|
Okay, I think I have addressed the comments from yesterday. Please re-review. Thanks! |
emolter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all my questions have been answered
analyze and normalize
as suggested by emolter [ci skip] Co-authored-by: Ned Molter <emolter@users.noreply.github.com>
because otherwise it is truncated. Co-authored-by: Ned Molter <emolter@users.noreply.github.com>
Co-authored-by: Ned Molter <emolter@users.noreply.github.com>
because I made the mistake of looking at it and could not unsee things
now that Other API section has been renamed. [ci skip] Co-authored-by: Ned Molter <emolter@users.noreply.github.com>
Co-authored-by: Ned Molter <emolter@users.noreply.github.com> Co-authored-by: Melanie Clarke <mclarke@stsci.edu>
Co-authored-by: Melanie Clarke <mclarke@stsci.edu>
Co-authored-by: Ned Molter <emolter@users.noreply.github.com>
2a696d4 to
5e57aba
Compare
|
Thanks for the reviews! I think just need @melanieclarke to approve now then this can be merged. |
melanieclarke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
Towards JP-4107
This PR addresses AMI portion of #9793 . Only touch docs so should not need RT.
On main:
With this patch:
Tasks
Build 12.0(use the latest build if not sure)no-changelog-entry-needed)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see changelog readme for instructions)docs/pageokify_regteststo update the truth files