-
Notifications
You must be signed in to change notification settings - Fork 28
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 and import improvement #47
Conversation
Codecov ReportBase: 83.35% // Head: 83.39% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #47 +/- ##
==========================================
+ Coverage 83.35% 83.39% +0.04%
==========================================
Files 40 43 +3
Lines 8337 8348 +11
Branches 1896 1896
==========================================
+ Hits 6949 6962 +13
+ Misses 913 911 -2
Partials 475 475
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Loading the API documentation in the user guide worked out for bruker, but not for blockfile. |
76ca91d
to
37f5a36
Compare
All other format descriptions consistently have the |
3423eb2
to
068732f
Compare
A subsection header for the API part of the format pages would be nice, e.g. API documentation or API parameters or Provided API functions |
Ok, if this is done consistently in other format, I will revert this change. I am not sure if we need the
I started to add one but I find it a bit unnecessary/redundant. |
068732f
to
811001b
Compare
It was a complete mixture, but in a previous PR on the docs I did it that way. Can live with the other way at well, but should be uniform.
Well, if the initial description is long, it does not hurt to have a link in the right-side menu to jump there. And for a page like the NeXus one, where there are various subsections, I would find it weird to not have one for the API part. |
Before continuing this PR, it would good to agree on the main changes: Public API
@francisco-dlp, you implemented the current structure of the plugins, does the simplification of this PR sounds good to you? Documentation
|
For the procedure to continue, should we do all the readers in this PR (other people could contribute certain readers) or do separate PRs for a number of plugins at a time? |
I would prefer separate PRs, otherwise the diff preview on github is difficult to use... As several plugins with simple (or related/similar) changes can be put in one single PR, there shouldn't be that many PRs, maybe about 6-7? |
I agree, a reply from @francisco-dlp would be good though. |
In my opinion, this PR would just need a suitable header for the pulled in API sections and then we could proceed to implement everything for the other readers as well. I would say API functions is appropriate. |
LGTM! |
@jlaehne, should we merge this PR to update other plugins documentation in separate PRs? |
Just a few points I realized while working on the first other formats that we should maybe fix before merging. In the meantime, I started working from the back of the alphabet in #59 - the PR needs to be rebased once this one is merged as I included your changes to start out with. |
b385661
to
614e71d
Compare
rsciio/docstrings.py
Outdated
""" | ||
|
||
SIGNAL_DOC = """signal : dict | ||
The signal to save. |
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.
Dictionary containing the signal object.
Better would be to give more details on the format of the dictionaries, or simply link the API page in the user guide that gives the details on these dictionaries.
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.
Indeed, I have left it simple for now thinking that we can improve it in another iteration! :)
614e71d
to
d08ae32
Compare
I will update #59 accordingly to reflect the latest changes in this PR. |
As discussed in #38. This changes the import and docstring/documentation for the
bruker
andblockfile
format as examples for discussion.Progress of the PR
upcoming_changes
folder (seeupcoming_changes/README.rst
),readthedocs
doc build of this PR (link in github checks)Minimal example of the bug fix or the new feature
Note that this example can be useful to update the user guide.