Fixed a bug where if a class has an attribute and a constructor argument with the same name, the constructor argument
type would be rendered incorrectly (issue 308)
Fixed napoleon handling of numpy docstrings with no specified return type.
1.21.6
Fix a Field list ends without a blank line warning (issue 305).
1.21.5
More robust determination of rtype location / fix issue 302
1.21.4
Improvements to the location of the return type
1.21.3
Use format_annotation to render class attribute type annotations
1.21.2
Fix overloads support
1.21.1
Fix spacing between :rtype: and directives
1.21
Handle types from types module
If module is _io, use io instead
Put rtype before examples or usage section
Remove redundant return type for attributes
Handle collections.abc.Callable as well as typing.Callable
Put Literal args in code blocks
1.20.2
Fix Optional role to be data.
... (truncated)
Commits
601583f Add option to force unions (and options) to be rendered with bars (#418)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on sphinx-autodoc-typehints to permit the latest version.
Release notes
Sourced from sphinx-autodoc-typehints's releases.
Changelog
Sourced from sphinx-autodoc-typehints's changelog.
... (truncated)
Commits
601583f
Add option to force unions (and options) to be rendered with bars (#418)2156242
[pre-commit.ci] pre-commit autoupdate (#424)d810826
[pre-commit.ci] pre-commit autoupdate (#423)d2955c6
Stop parsing from overwriting Sphinx configuration (#422)0bec1bc
[pre-commit.ci] pre-commit autoupdate (#416)a43776a
[pre-commit.ci] pre-commit autoupdate (#415)4e53ee5
[pre-commit.ci] pre-commit autoupdate (#414)f93181b
[pre-commit.ci] pre-commit autoupdate (#412)05a8290
[pre-commit.ci] pre-commit autoupdate (#411)939d512
[pre-commit.ci] pre-commit autoupdate (#406)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show