-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support admonitions in Numpydoc docstrings
Previously, sections titled "See also" and others were not recognized as sections, and therefore just parsed as regular text. Now, such unknown sections will be parsed as admonitions. In a previous breaking change, support for prose between sections was removed: this change compensantes the breakage by allowing users to use admonitions such as Note, Important, etc., to re-add prose between sections thanks to admonitions. This also further reduces the gap between Numpydoc and Google-style. Issue #214: #214 PR #219: #219 Co-authored-by: Timothée Mazzucotelli <[email protected]>
- Loading branch information
Showing
2 changed files
with
124 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters