Format UnfoldSim docstrings according to template #121
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As pointed out by @cbrnr (#106), some of the docstrings are still incomplete and do not follow a common docstring convention. @cbrnr thanks a lot for pointing this out and for your suggestions on how to make the docstrings more consistent.
The goal is to transform the docstrings such that they match the docstring template, that I came up with based on the Julia manual, the Blue style guide and by checking the docstrings of other Julia packages.
I will post the current templates for
Functions
andTypes
below. However, please note that they are still subject to change when we find something that does not match the template.@maanikmarathe, here is a list of all UnfoldSim.jl
src
files with docstrings. Once we are done with them, we can check the boxes. Also, feel free to post about docstrings for which you are unsure how to format them or where information is missing, either in this issue (#108) or by writing to me on Zulip. As discussed, I started from the top of the list and would like you to start from the bottom.