Skip to content

DOC: Minor updates to docstrings #125

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

Merged
merged 1 commit into from
Apr 21, 2025
Merged

DOC: Minor updates to docstrings #125

merged 1 commit into from
Apr 21, 2025

Conversation

nawtrey
Copy link
Collaborator

@nawtrey nawtrey commented Apr 21, 2025

Description

  • Fixes incorrect usage of (optional) instead of , optional for optional parameters in function/method docstrings

  • Updates docstrings with key parameter to correctly list them as an optional parameter

  • Updates function, method, and class references to use their correct tag (i.e. :func: for functions, :class: for classes) instead of using :meth:

Status

  • Ready to go

* Fixes incorrect usage of `(optional)` instead of `, optional`
for optional parameters in function/method docstrings

* Updates docstrings with `key` parameter to correctly
list them as an `optional` parameter

* Updates function, method, and class references to use their
correct tag (i.e. `:func:` for functions, `:class:` for classes)
instead of using `:meth:`
@nawtrey nawtrey added the documentation Improvements or additions to documentation label Apr 21, 2025
@nawtrey
Copy link
Collaborator Author

nawtrey commented Apr 21, 2025

Alright, I looked through the diff several times and checked many of the function/class references in the sphinx build. Everything looks good.

@nawtrey nawtrey merged commit 2f35636 into master Apr 21, 2025
6 checks passed
@nawtrey nawtrey deleted the docstring_fixes branch April 21, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant