-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add spice module to documentation #1010
Add spice module to documentation #1010
Conversation
Lots of changes to get the spinx documentaton right
@@ -117,6 +117,9 @@ | |||
(r"py:.*", r".*np.ndarray.*"), | |||
(r"py:.*", r".*numpy._typing._array_like._ScalarType_co.*"), | |||
(r"py:.*", r".*idex.l1a.TRIGGER_DESCRIPTION.*"), | |||
(r"py:.*", r".*.spice.geometry.SpiceBody.*"), |
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.
More nitpick ignores for IntEnum
s and some numpy_typing
. What confuses me is that theses sphinx warnings would go away if I built the documentation a second time without cleaning. I simply couldn't figure out how to fix these issues without just adding the ignore regex here.
@@ -96,10 +97,11 @@ def imap_state( | |||
---------- | |||
et : np.ndarray or float | |||
Epoch time(s) [J2000 seconds] to get the IMAP state for. | |||
ref_frame : SpiceFrame, optional |
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 have no clue why sphinx was having problems with this optional
here, which adheres to numpydoc
syntax. I spent way too long trying to fix it but ended up just having to remove it.
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 actually don't see anything that needs to be changed. Looks good to me, but I'll let other reviewers chime in before I hit "approve".
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.
LGTM. Sphinx is... its own challenge... so nice job integrating this
f6204d2
into
IMAP-Science-Operations-Center:dev
Change Summary
Overview
These are all changes that were needed to add the spice directory to the documentation build and fix some formatting issues.