Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fix #8219: autodoc: Parameters for generic base class are not shown | Takeshi KOMIYA | 2020-11-09 | 1 | -1/+194 | |
| | | ||||||
* | | Remove additional mentions of Python 3.5 | François Freitag | 2020-11-07 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-10-24 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Merge branch '3.x' into 3.2.x_to_3.x | Takeshi KOMIYA | 2020-10-24 | 1 | -2/+9 | |
| |\ | ||||||
| * | | Fix mypy violations (with mypy-0.790) | Takeshi KOMIYA | 2020-10-24 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge branch '3.x' into master | Takeshi KOMIYA | 2020-10-04 | 1 | -2/+9 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | Fix #8157: autodoc: TypeError is raised when annotation has invalid __args__ | Takeshi KOMIYA | 2020-10-04 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Typically, the __args__ attribute of type annotations is a tuple containing arguments for the types (ex. The __args__ of `List[int]` is `(int,)`). But some kind of types has non tuple __args__ attribute. For example, `nptyping.NDArray` is one of them. This fixes the TypeError when the invalid __args__ attribute found. | |||||
| * | | Close #6518: autodoc: Add autodoc_type_aliases | Takeshi KOMIYA | 2020-10-03 | 1 | -1/+5 | |
| |/ | | | | | | | | | autodoc_type_aliases allows to keep user defined type alises not evaluated in the generated document. | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-07-24 | 1 | -1/+18 | |
|\ \ | |/ | ||||||
| * | Fix #7983: autodoc: Generator type annotation is wrongly rendered in py36 | Takeshi KOMIYA | 2020-07-19 | 1 | -1/+3 | |
| | | | | | | | | | | This adds a special handler (if-branch) for Generator type to stringify them correctly. So far, they have been considered as a kind of Callable. | |||||
| * | Fix #7901: autodoc: annotations for overloaded functions are not resolved | Takeshi KOMIYA | 2020-07-11 | 1 | -0/+15 | |
| | | | | | | | | | | | | So far, type annotations for overloaded functions are not resolved because they are obtained from AST directly. This tries to evaluate them using a context of its function or method. | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-06-04 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Merge branch '3.0.x' into 3.x | Takeshi KOMIYA | 2020-06-03 | 1 | -4/+4 | |
| |\ | ||||||
| | * | Fix mypy violations (with mypy-0.780) | Takeshi KOMIYA | 2020-06-03 | 1 | -4/+4 | |
| | | | ||||||
| | * | Suppress arguments if all system defined TypeVars on py39 | Takeshi KOMIYA | 2020-05-09 | 1 | -1/+8 | |
| | | | ||||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2020-05-17 | 1 | -6/+21 | |
|\ \ \ | |/ / | ||||||
| * | | Make sphinx.util.typing.stringify render optional unions better | John R. Lenton | 2020-05-11 | 1 | -5/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this change, stringify(Optional[Union[int, str]]) returns 'Union[int, str, None]' rather than the expected 'Optional[...]'. This change fixes that. fixes: #7654 | |||||
| * | | Suppress arguments if all system defined TypeVars on py39 | Takeshi KOMIYA | 2020-05-09 | 1 | -1/+8 | |
| |/ | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-28 | 1 | -2/+7 | |
|\ \ | |/ | ||||||
| * | Do not emit type arguments twice | Eric Wieser | 2020-04-27 | 1 | -2/+7 | |
| | | | | | | | | Fixes gh-7567 | |||||
* | | Deprecate codes for python 3.5 | Takeshi KOMIYA | 2020-03-07 | 1 | -49/+9 | |
|/ | ||||||
* | Close #7165: autodoc: Support Annotated type (PEP-593) | Takeshi KOMIYA | 2020-03-03 | 1 | -1/+4 | |
| | ||||||
* | Add sphinx.util.typing:stringify() to represent annotations as string | Takeshi KOMIYA | 2020-01-05 | 1 | -1/+153 | |
| | ||||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 | |
| | ||||||
* | refactor: correct interface of directive() and role() to docutils' | Takeshi KOMIYA | 2019-06-09 | 1 | -1/+1 | |
| | ||||||
* | Migrate to py3 style type annotation: sphinx.util | Takeshi KOMIYA | 2019-06-02 | 1 | -0/+3 | |
| | ||||||
* | refactor: Move NoneType to sphinx.util.typing | Takeshi KOMIYA | 2019-02-11 | 1 | -0/+3 | |
| | ||||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 | |
|\ | ||||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 | |
| | | ||||||
* | | Replace use of six.text_type with str | Jon Dufresne | 2018-12-18 | 1 | -3/+2 | |
| | | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency. | |||||
* | | Add comment for Inventory type | Takeshi KOMIYA | 2018-12-17 | 1 | -0/+1 | |
| | | ||||||
* | | Merge pull request #5817 from jdufresne/inventory-typing | Takeshi KOMIYA | 2018-12-17 | 1 | -0/+2 | |
|\ \ | | | | | | | Define a common Inventory type for reuse across modules | |||||
| * | | Define a common Inventory type for reuse across modules | Jon Dufresne | 2018-12-16 | 1 | -0/+2 | |
| | | | ||||||
* | | | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | 2018-12-16 | 1 | -1/+0 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie. | |||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -8/+1 | |
| | | ||||||
* | | Add TextlikeNode type for docfields | Takeshi KOMIYA | 2018-12-10 | 1 | -1/+4 | |
| | | ||||||
* | | Remove N_co type (unused) | Takeshi KOMIYA | 2018-12-08 | 1 | -4/+1 | |
| | | ||||||
* | | Add DirectiveOption type to an entry of Directive.option_spec | Takeshi KOMIYA | 2018-12-07 | 1 | -1/+3 | |
| | | ||||||
* | | Fix annotations for directives | Takeshi KOMIYA | 2018-11-29 | 1 | -1/+4 | |
| | | ||||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -1/+9 | |
| | | ||||||
* | | Adjust type annotations for roles to docutils' | Takeshi KOMIYA | 2018-11-23 | 1 | -1/+1 | |
| | | ||||||
* | | Fix type annotations for RoleFunction | Takeshi KOMIYA | 2018-11-11 | 1 | -3/+2 | |
| | | ||||||
* | | Fix typehints: sphinx.domains | Takeshi KOMIYA | 2018-11-06 | 1 | -2/+3 | |
| | | ||||||
* | | refactoring: Drop PY2 and PY3 flags | Takeshi KOMIYA | 2018-09-22 | 1 | -6/+3 | |
|/ | ||||||
* | refactor: Store enumerable_nodes to registry | Takeshi KOMIYA | 2018-02-20 | 1 | -0/+3 | |
| | ||||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -1/+1 | |
| | ||||||
* | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
| | ||||||
* | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
| | ||||||
* | Upgrade to mypy-0.5 | Takeshi KOMIYA | 2017-03-03 | 1 | -0/+24 | |