-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add handling of parameter references in Sphinx documentation (#5707)
Utilize sphinx_paramlinks plugin which adds: * link target for every parameter * new :paramref: directive Add hook that automatically injects :paramref: before every single-backticked parameter reference. The references are validated against function signature. If the signature is unavailable than the whole step is skipped. Numpydocify the docstring syntax by removing backticks around params in Python docs and in the numpydoc documentation generator for operators. Signed-off-by: Krzysztof Lecki <[email protected]>
- Loading branch information
Showing
15 changed files
with
237 additions
and
169 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
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
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
Oops, something went wrong.