Closed taldcroft closed 1 year ago
I looked at the changes and they look reasonable to me.
The only thing is that the documentation ends up looking different from the current one. The reason is that, after this PR, the members of each module appears in the corresponding page, whereas the current docs only show narrative docs.
Strictly speaking, the module members should have been shown (because they are explicitly called, e.g. see https://github.com/sot/chandra_aca/blob/master/docs/aca_image.rst?plain=1#L11)), but I just prefer when API and narrative docs are separated, or at least that the API comes after the narrative. That's a matter of taste though.
Description
This uses some WIP code (https://github.com/sot/skare3_tools/pull/101) to convert from ReST format docstrings to numpydocs format. I spent some time trying to use the
pyment
package but found that it does not handle any docstring with inline examples.The ReST format which is used in most Ska packages is unsatisfactory because it does not really support indicating the type of input parameters.
Rendered sphinx docs: https://icxc.harvard.edu/aspect/test_review_outputs/chandra_aca/pr156/html/
Interface impacts
None
Testing
Unit tests
Independent check of unit tests by [REVIEWER NAME]
Functional tests
Docs were built using this and are available at the URL in the description.