| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | js/py nodes, update arglist rendering | Jakob Lykke Andersen | 2021-10-03 | 1 | -1/+2 |
| | | |||||
| * | py nodes, Constant None | Jakob Lykke Andersen | 2021-10-02 | 1 | -0/+2 |
| | | |||||
| * | py nodes, PyObject anno | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+9 |
| | | |||||
| * | py nodes, get_signature_prefix cleanup | Jakob Lykke Andersen | 2021-10-02 | 1 | -4/+1 |
| | | |||||
| * | py nodes, PyProperty get_signature_prefix | Jakob Lykke Andersen | 2021-10-02 | 1 | -6/+9 |
| | | |||||
| * | py nodes, PyMethod get_signature_prefix | Jakob Lykke Andersen | 2021-10-02 | 1 | -13/+15 |
| | | |||||
| * | py nodes, PyClassLike, get_signature_prefix | Jakob Lykke Andersen | 2021-10-02 | 1 | -3/+4 |
| | | |||||
| * | py nodes, PyFunction get_signature_prefix | Jakob Lykke Andersen | 2021-10-02 | 1 | -3/+4 |
| | | |||||
| * | py nodes, prep for get_signature_prefix change | Jakob Lykke Andersen | 2021-10-02 | 1 | -3/+6 |
| | | |||||
| * | py nodes, PyProperty | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+4 |
| | | |||||
| * | py nodes, PyAttribute value | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+5 |
| | | |||||
| * | py nodes, PyAttribute type | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+4 |
| | | |||||
| * | py nodes, PyVariable value | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+5 |
| | | |||||
| * | py nodes, PyVariable type | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+3 |
| | | |||||
| * | py nodes, arglist | Jakob Lykke Andersen | 2021-10-02 | 1 | -3/+3 |
| | | |||||
| * | py nodes, Tuple | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+3 |
| | | |||||
| * | py nodes, List | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+3 |
| | | |||||
| * | py nodes, BitOr | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+3 |
| | | |||||
| * | Fix typos discovered by codespell | Christian Clauss | 2021-09-08 | 1 | -1/+1 |
| | | |||||
| * | Fix #9576: py domain: Literal typehint was converted to a cross reference | Takeshi KOMIYA | 2021-09-03 | 1 | -2/+10 |
| | | | | | | The content of Literal typehint should not be converted to cross references. | ||||
| * | Fix #9585: py:property directive does not create a hyperlink for types | Takeshi KOMIYA | 2021-08-31 | 1 | -1/+2 |
| | | |||||
| * | Cloase #9445: :py:property: directive now supports :classmethod: option | Takeshi KOMIYA | 2021-07-17 | 1 | -2/+6 |
| | | | | | | Since python 3.9, `classmethod` starts to support creating a "class property". This allows to describe it. | ||||
| * | Merge branch '4.x' into 9427 | Takeshi KOMIYA | 2021-07-11 | 1 | -22/+35 |
| |\ | |||||
| | * | fields, call roles instead of making a pending_xref | Jakob Lykke Andersen | 2021-06-03 | 1 | -8/+18 |
| | | | | | | | | | Except for py which has mixins that assumes a single pending_xref | ||||
| | * | Close #9268: python_use_unqualified_type_names supports type field | Takeshi KOMIYA | 2021-06-03 | 1 | -0/+10 |
| | | | |||||
| | * | Fix #9280: py domain: "exceptions" module is not displayed | Takeshi KOMIYA | 2021-05-30 | 1 | -6/+3 |
| | | | | | | | | | | | | | | | | | | | | | Since v0.2, python domain gives a special treatment for the exceptions module to suppress its name on documenting exception classes. It had been worthy on python2 era. But the module has been removed since python3. Therefore, the special treatment becomes harmful for user libraries. This removes it to render module names correctly. Note: Now we've only supported python3. So this is not incompatible. | ||||
| | * | Merge pull request #9258 from tk0miya/1874_piped_types_in_info-field-list | Takeshi KOMIYA | 2021-05-23 | 1 | -1/+1 |
| | |\ | | | | | | | Close #1874: py domain: Support union types using `|` in info-field-list | ||||
| | | * | Close #1874: py domain: Support union types using `|` in info-field-list | Takeshi KOMIYA | 2021-05-22 | 1 | -1/+1 |
| | | | | |||||
| | * | | refactor: reduce calls of find_pending_xref_conditions (refs: #9240) | Takeshi KOMIYA | 2021-05-22 | 1 | -4/+0 |
| | |/ | | | | | | | | | | | | | After #9246, `find_pending_xref_conditions()` should be only called from intended modules. At present, the Python Domain is the only module to call it intendedly. Therefore, this removes the needless calls of the utility function from "unintended" modules. | ||||
| | * | Merge branch '4.0.x' into 4.x | Takeshi KOMIYA | 2021-05-11 | 1 | -3/+7 |
| | |\ | |||||
| | * | | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2021-05-10 | 1 | -3/+3 |
| | | | | |||||
| * | | | Closes #9418: Fix missing bracket for empty Callable annotations. | Thomas Jungers | 2021-07-09 | 1 | -4/+8 |
| | |/ |/| | |||||
| * | | Fix #9205: py domain: canonical option causes xref resolution error | Takeshi KOMIYA | 2021-05-11 | 1 | -3/+7 |
| |/ | | | | | | The :canonical: option causes "more than one target for cross-reference" warning because the class having the same name is registered. | ||||
| * | Merge pull request #9118 from chrisjsewell/fix-typing | Takeshi KOMIYA | 2021-04-24 | 1 | -1/+1 |
| |\ | | | | | 🐛 FIX: `Config.__getitem__` typing | ||||
| | * | remove type: ignore | Chris Sewell | 2021-04-23 | 1 | -1/+1 |
| | | | |||||
| * | | Fix #9121: py domain: duplicated warning for canonical and alias | Takeshi KOMIYA | 2021-04-23 | 1 | -9/+17 |
| |/ | | | | | | A duplicated warning is emitted when both canonical and its alias objects are defined on the same document. But it should not be emitted because they're the same object, not conflicted. | ||||
| * | Fix #8127: py domain: Ellipsis in info-field-list causes nit-picky warning | Takeshi KOMIYA | 2021-04-17 | 1 | -1/+1 |
| | | | | | | | | | | | On parsing the types, the leading dot of the ellipsis (...) is considered as a reference name. And its first dot is considered as a notation for relative type reference (ex. ".ClassName"). As a result, it was converted double dots unexpectedly. This changes the parsing rule to treat the ellipsis as a symbol, not a name. | ||||
| * | refactor: Use PEP-526 based variable annotation (sphinx.domains) | Takeshi KOMIYA | 2021-03-23 | 1 | -14/+13 |
| | | |||||
| * | Merge pull request #8991 from tk0miya/typing_OptionSpec | Takeshi KOMIYA | 2021-03-15 | 1 | -11/+11 |
| |\ | | | | | refactor: Add a type alias for the option_spec of directives; OptionSpec | ||||
| | * | refactor: Add a type alias for the option_spec of directives; OptionSpec | Takeshi KOMIYA | 2021-03-13 | 1 | -11/+11 |
| | | | |||||
| * | | Merge pull request #8996 from tk0miya/7119_pending_xref_conditions | Takeshi KOMIYA | 2021-03-15 | 1 | -0/+4 |
| |\ \ | | | | | | | Fix #7119: autodoc: Broken doctree was generated by builtin_resolver | ||||
| | * | | Avoid a mypy warning | Takeshi KOMIYA | 2021-03-15 | 1 | -1/+1 |
| | | | | |||||
| | * | | Fix #7119: autodoc: Broken doctree was generated by builtin_resolver | Takeshi KOMIYA | 2021-03-14 | 1 | -0/+4 |
| | |/ | | | | | | | | | The builtin_resolver() generates broken doctree unexpectedly if it contains pending_xref_condition nodes. | ||||
| * | | py domain: Add py:property directive to describe a property (refs: #7068) | Takeshi KOMIYA | 2021-03-11 | 1 | -1/+52 |
| |/ | |||||
| * | Fix #7199: py domain: Add a new confval: python_use_unqualified_type_names | Takeshi KOMIYA | 2021-03-06 | 1 | -5/+32 |
| | | | | | | | Add a new config variable: python_use_unqualified_type_names. If enabled, it goes to suppress the module name of the python reference if it can be resolved. | ||||
| * | refactor: py domain: Put if-block for ast.Constant to the root level | Takeshi KOMIYA | 2021-02-03 | 1 | -6/+5 |
| | | |||||
| * | Re-insert if isinstance(node, ast.Constant): into py _parse_annotation | jfbu | 2021-02-03 | 1 | -0/+6 |
| | | | | | | | | | | | As master drop python 3.5 support, conditional if sys.version_info >= (3, 6): not needed anymore. This hunk had got lost in merge. modified: sphinx/domains/python.py | ||||
| * | Merge branch '3.x' into master_with_merged_3.x | jfbu | 2021-02-02 | 1 | -7/+9 |
| |\ | |||||
| | * | py domain: Support type union operator (PEP-604) (refs: #8775) | Takeshi KOMIYA | 2021-02-01 | 1 | -2/+9 |
| | | | | | | | | | | | | | Upgrade annotation parser for python domain to support type union operator introduced in PEP-604. It's available on all python interpreters. | ||||
| * | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-08 | 1 | -1/+1 |
| |\ \ | |/ | |||||
