-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
Doc fixes #463
Doc fixes #463
Conversation
Codecov Report
@@ Coverage Diff @@
## main #463 +/- ##
==========================================
- Coverage 72.52% 72.52% -0.01%
==========================================
Files 174 174
Lines 55689 55680 -9
==========================================
- Hits 40390 40381 -9
Misses 15299 15299
|
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.
Good stuff - looks like a lot of work!
I noticed some inconsistency in the spaces and colons on the type hints in docstrings. The linked resources could help to explain & resolve them.
These changes come from an accumulation of doc-related stashes over the past few months. Those empty With that in mind, we should focus less on manually meeting the subtleties of NumPy's parameter formatting, since it will ultimately be a wasted effort. Likewise, the entire project doesn't adhere to a single, consistent docstring format, but, once one is formally established, that would entail a In the meantime, we need to fix the obvious formatting issues in the rendered documentation, and that's what this PR primarily does. |
Formatting has been updated
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 would rather not maintain two copies of the same information, and simply automate the docstring parameters production via the type annotations [...]
In the meantime, we need to fix the obvious formatting issues in the rendered documentation, and that's what this PR primarily does.
I agree! Just wanted to make sure that you're aware of the potentially related issue.
2d8fe55
to
3bd4657
Compare
This PR contains numerous Sphinx-related documentation fixes. Only one set of warnings remain after these changes, and fixing those involves a refactor of
Type.[Variable|Constant]
.