Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-09 | 1 | -10/+11 | |
|\ \ \ | |/ / | ||||||
| * | | Fix #8219: autodoc: Parameters for generic base class are not shown | Takeshi KOMIYA | 2020-11-09 | 1 | -0/+3 | |
| | | | ||||||
| * | | Merge branch '3.x' into 8105_incorrect_class_constructor | Takeshi KOMIYA | 2020-11-08 | 1 | -8/+0 | |
| |\ \ | ||||||
| | * | | Drop Python 3.4 compatibility code | François Freitag | 2020-11-07 | 1 | -8/+0 | |
| | |/ | | | | | | | | | | Python 3.4 support was dropped in Sphinx 2.0. | |||||
| * | | Fix #8105: autodoc: the signature of decorated class is incorrect | Takeshi KOMIYA | 2020-11-05 | 1 | -2/+8 | |
| |/ | | | | | | | | | | | | | | | | | In #7651, autodoc stops to undecorate the functions on getting the signature from the callables. But some kinds of decorators conceals the correct signature because they pass through their arguments via `(*args, **kwargs)`. This restarts to undecorate the functions again as before #7651. | |||||
* | | 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 | -12/+13 | |
|\ \ | |/ | ||||||
| * | Fix #8255: py domain: number in defarg is changed to decimal | Takeshi KOMIYA | 2020-10-05 | 1 | -12/+13 | |
| | | | | | | | | | | | | | | | | Number literals in default argument value is converted to decimal form unexpectedly by AST module. This fixes the signature parsing code to recosntruct it correctly. Note: This is only available in Python 3.8+. | |||||
* | | Merge branch '3.x' into master | Takeshi KOMIYA | 2020-10-04 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Close #6518: autodoc: Add autodoc_type_aliases | Takeshi KOMIYA | 2020-10-03 | 1 | -3/+3 | |
| | | | | | | | | | | autodoc_type_aliases allows to keep user defined type alises not evaluated in the generated document. | |||||
* | | Merge branch '3.x' into master | Takeshi KOMIYA | 2020-10-03 | 1 | -0/+5 | |
|\ \ | |/ | ||||||
| * | Fix #8103: autodoc: cached_property is not considered as a property | Takeshi KOMIYA | 2020-08-13 | 1 | -0/+5 | |
| | | | | | | | | | | | | sphinx.util.inspect:isproperty() does not considers that cached_property decorator that has been added since Python 3.8 is a kind of properties. This fixes it. | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-08-01 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix #8023: evaluate_signature() does not work properly in python3.9 | Takeshi KOMIYA | 2020-08-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | Since 3.9b5, ForwardRef._evalute() also takes an additional argument `recursive_guard`. As a result, sphinx.util.inspect:evaluate_signature() does not work properly. This adds a simple wrapper evalute_forwardref() to allow evaluating ForwardRefs in py3.9. | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-08-01 | 1 | -3/+10 | |
|\ \ | |/ | ||||||
| * | Fix #8023: evaluate_signature() does not work properly in python3.10 | Takeshi KOMIYA | 2020-08-01 | 1 | -3/+10 | |
| | | | | | | | | | | | | | | Since 3.10, ForwardRef._evalute() takes an additional argument `recursive_guard`. As a result, sphinx.util.inspect:evaluate_signature() does not work properly. This adds a simple wrapper evalute_forwardref() to allow evaluating ForwardRefs in py3.10. | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-07-24 | 1 | -2/+49 | |
|\ \ | |/ | ||||||
| * | Merge branch '3.x' into 7901_resolve_types_for_overloaded_funcs | Takeshi KOMIYA | 2020-07-12 | 1 | -1/+7 | |
| |\ | ||||||
| | * | Fix #7935: autodoc: A default value inspect._empty conseals signatures | Takeshi KOMIYA | 2020-07-12 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | A function signature is not shown when the function has a parameter having ``inspect._empty`` as its default value because Signature class validates function signatures on instantiation. | |||||
| * | | Fix #7901: autodoc: annotations for overloaded functions are not resolved | Takeshi KOMIYA | 2020-07-11 | 1 | -1/+42 | |
| |/ | | | | | | | | | | | 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-07-05 | 1 | -4/+4 | |
|\ \ | |/ | ||||||
| * | Merge pull request #7832 from cool-RR/2020-06-11-raise-from | Takeshi KOMIYA | 2020-06-29 | 1 | -4/+4 | |
| |\ | | | | | | | Fix exception causes all over the codebase | |||||
| | * | Fix exception causes all over the codebase | Ram Rachum | 2020-06-14 | 1 | -4/+4 | |
| | | | ||||||
* | | | Merge tag 'v3.1.1' | Takeshi KOMIYA | 2020-07-05 | 1 | -2/+17 | |
|\ \ \ | |/ / | ||||||
| * | | Fix #7807: autodoc: wrong signature is shown for the function using ↵ | Takeshi KOMIYA | 2020-06-14 | 1 | -1/+16 | |
| | | | | | | | | | | | | contextmanager | |||||
| * | | Fix #7812: autosummary: generates broken stub files | Takeshi KOMIYA | 2020-06-11 | 1 | -1/+1 | |
| |/ | ||||||
* | | Merge tag 'v3.1.0' | Takeshi KOMIYA | 2020-07-05 | 1 | -4/+8 | |
|\ \ | |/ | ||||||
| * | Add sphinx.util.inspect:signature_from_ast() | Takeshi KOMIYA | 2020-05-31 | 1 | -4/+8 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-06-04 | 1 | -6/+34 | |
|\ \ | |/ | ||||||
| * | Merge pull request #7757 from tk0miya/7756_posonlyargs | Takeshi KOMIYA | 2020-05-31 | 1 | -5/+20 | |
| |\ | | | | | | | Fix #7756: py domain: The default value for posonlyarg is not shown | |||||
| | * | Fix #7756: py domain: The default value for posonlyarg is not shown | Takeshi KOMIYA | 2020-05-31 | 1 | -5/+20 | |
| | | | ||||||
| * | | Add sphinx.util.inspect:isgenericalias() | Takeshi KOMIYA | 2020-05-30 | 1 | -0/+13 | |
| |/ | ||||||
| * | BUG: Fix check for meth | Eric Larson | 2020-05-28 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-05-17 | 1 | -12/+24 | |
|\ \ | |/ | ||||||
| * | Fix #7650: autodoc: undecorated signature is shown for decorated functions | Takeshi KOMIYA | 2020-05-11 | 1 | -2/+9 | |
| | | ||||||
| * | Merge pull request #7624 from tk0miya/refactor_autodoc2 | Takeshi KOMIYA | 2020-05-09 | 1 | -6/+0 | |
| |\ | | | | | | | refactor: autodoc: class processors on autofunction is no longer needed | |||||
| | * | refactor: autodoc: class processors on autofunction is no longer needed | Takeshi KOMIYA | 2020-05-07 | 1 | -6/+0 | |
| | | | ||||||
| * | | Do not crash if `is_builtin_class_method` is passed a non-type | Eric Wieser | 2020-05-08 | 1 | -4/+15 | |
| |/ | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-05-04 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Add stacklevel parameter to warnings.warn() call | Takeshi KOMIYA | 2020-05-03 | 1 | -3/+3 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-05-02 | 1 | -3/+6 | |
|\ \ | |/ | ||||||
| * | Fix #7559: autodoc: misdetects a sync function is async | Takeshi KOMIYA | 2020-05-01 | 1 | -3/+6 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-30 | 1 | -1/+12 | |
|\ \ | |/ | ||||||
| * | Fix #6588: autodoc: Decorated inherited method has no documentation | Takeshi KOMIYA | 2020-04-28 | 1 | -1/+12 | |
| | | ||||||
* | | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | 2020-04-29 | 1 | -167/+2 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-27 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Merge pull request #7509 from tk0miya/refactor_Optional_typehints | Takeshi KOMIYA | 2020-04-20 | 1 | -2/+2 | |
| |\ | | | | | | | refactor: Add Optional to type annotations | |||||
| | * | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2020-04-19 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-19 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Fix #7510: py domain: keyword-only arguments are wrongly rendered | Takeshi KOMIYA | 2020-04-19 | 1 | -1/+1 | |
| |/ |