-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Enable nitpicky mode for sphinx and get docs to build cleanly #140
Conversation
Codecov Report
@@ Coverage Diff @@
## main #140 +/- ##
==========================================
+ Coverage 70.09% 70.57% +0.47%
==========================================
Files 9 9
Lines 602 605 +3
==========================================
+ Hits 422 427 +5
+ Misses 180 178 -2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
looks like the CI and RTD build all ran successfully 🥳 |
Co-authored-by: P. L. Lim <[email protected]>
Co-authored-by: P. L. Lim <[email protected]>
Co-authored-by: P. L. Lim <[email protected]>
Co-authored-by: P. L. Lim <[email protected]>
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 much better now. Thanks!
i think this is ready to merge and @pllim has approved it. if there are no further comments or suggestions, i will go ahead and merge at the end of the day. |
As @pllim noted, there were a lot of warnings in the documentation build. This PR enables
nitpicky
mode insphinx
and makes the fixes necessary to get the documentation to build cleanly. There was quite a bit of malformedrst
scattered about. I had to add exceptions tospecutils.Spectrum1D
because the cross-referencing to that package wasn't working for some reason. Cross-references toastropy
andnumpy
work so it's something specific tospecutils
. AFAICT, this is an issue seen elsewhere in theastropy
ecosystem so it looks like asphinx
quirk/bug to be worked around.This can be tested locally by running
tox -e build_docs
. Need to run through CI to make sure that flows through properly to RTD...