Skip to content
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

Add __call__ method docstrings to the API documentation #3742

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

JHopeCollins
Copy link
Member

Description

By default sphinx doesn't document special (dunder) methods. This PR adds a line to the documentation configuration to include __call__ method docstrings in the API.

It also updates a couple of __call__ docstrings so they build successfully.

@dham dham merged commit a687625 into master Aug 21, 2024
10 checks passed
@dham dham deleted the JHopeCollins/call_method_docstrings branch August 21, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants