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

Remove the colon (':') from keywords such as "Parameters", "Remarks" and "Returns" in comments. #2130

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

gandiddi
Copy link
Collaborator

Fixes #1991

Description

To avoid generating unwanted H1 headers in API reference documents, remove the colon (':') from keywords such as "Parameters", "Remarks" and "Returns" in comments.

See the proper usage in: https://www.sphinx-doc.org/en/master/usage/extensions/example_numpy.html

@gandiddi gandiddi requested a review from a team as a code owner June 28, 2024 17:39
@tracyboehrer tracyboehrer merged commit d7b20cb into main Jul 1, 2024
7 checks passed
@tracyboehrer tracyboehrer deleted the v-gandiddi/RemoveColon branch July 1, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove colon (':') from keywords such as "Parameters" and "Remarks" in comments
2 participants