Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test for issue #10456: removing meta-fields | Anselm Kruis | 2022-05-16 | 1 | -0/+2 |
| | | | | | | Add two meta-fields to an appropriate test case. Currently the test fails, because of bug #10456. The next commit fixes the issue. | ||||
* | `.read_text()` -> `.read_text(encoding='utf8')` | Adam Turner | 2022-04-27 | 1 | -5/+5 |
| | |||||
* | Collapse single line docstrings | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -2/+2 |
| | |||||
* | Fix module docstring first line | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 1 | -3/+0 |
| | |||||
* | test: Migrate to Node.findall() from Node.traverse() | Takeshi KOMIYA | 2022-01-03 | 1 | -3/+3 |
| | |||||
* | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | | |||||
* | | Fix py domain: "typing" types are not hyperlinked in info-field-list | Takeshi KOMIYA | 2021-12-27 | 1 | -1/+22 |
| | | |||||
* | | py domain: Suppress the leading "typing." module from typehints | Takeshi KOMIYA | 2021-12-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | | To support creating hyperlinks to container types naturally, py domain should take fully-qualified typehints for them. But nobody wants to show "typing." module name on the signature. So this suppresses them automatically. | ||||
* | | Fix #9194: autodoc: types in typing module are not hyperlinked | Takeshi KOMIYA | 2021-12-25 | 1 | -1/+3 |
| | | | | | | | | | | This converts types in typing module to valid references when `autodoc_unqualified_typehints` option enabled. | ||||
* | | Fix autodoc: Failed to parse Literal type in py36 and py37 | Takeshi KOMIYA | 2021-12-25 | 1 | -0/+9 |
|/ | |||||
* | test: Remove debug print | Takeshi KOMIYA | 2021-12-19 | 1 | -1/+0 |
| | |||||
* | py domain: Allow "~" prefix as a prefix of typehints in signature | Takeshi KOMIYA | 2021-11-30 | 1 | -0/+12 |
| | | | | | | | | | | Now python domain supports the "~" prefix at the beginning of the typehints of the function signatures: .. py:function:: func(x: ~typing.Dict) It's rescognized as the same as python reference roles do (ex. :py:class:`~typing.Dict`). | ||||
* | Fix #9899: py domain: Allows cross-reference specifier to :type: option | Takeshi KOMIYA | 2021-11-29 | 1 | -0/+22 |
| | |||||
* | Fix #9775: py domain: Literal typehint was converted to a cross reference | Takeshi KOMIYA | 2021-10-30 | 1 | -0/+36 |
| | |||||
* | Merge branch '4.x' into 9697_property_with_parens | Takeshi KOMIYA | 2021-10-09 | 1 | -68/+101 |
|\ | |||||
| * | js/py nodes, update arglist rendering | Jakob Lykke Andersen | 2021-10-03 | 1 | -3/+3 |
| | | |||||
| * | py nodes, isort fix | Jakob Lykke Andersen | 2021-10-02 | 1 | -3/+4 |
| | | |||||
| * | py nodes, PyObject anno | Jakob Lykke Andersen | 2021-10-02 | 1 | -7/+8 |
| | | |||||
| * | py nodes, PyProperty get_signature_prefix | Jakob Lykke Andersen | 2021-10-02 | 1 | -2/+4 |
| | | |||||
| * | py nodes, PyMethod get_signature_prefix | Jakob Lykke Andersen | 2021-10-02 | 1 | -8/+8 |
| | | |||||
| * | py nodes, PyClassLike, get_signature_prefix | Jakob Lykke Andersen | 2021-10-02 | 1 | -12/+15 |
| | | |||||
| * | py nodes, PyFunction get_signature_prefix | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+3 |
| | | |||||
| * | py nodes, PyProperty | Jakob Lykke Andersen | 2021-10-02 | 1 | -2/+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 | -3/+4 |
| | | |||||
| * | py nodes, PyVariable value | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+6 |
| | | |||||
| * | py nodes, PyVariable type | Jakob Lykke Andersen | 2021-10-02 | 1 | -4/+7 |
| | | |||||
| * | py nodes, arglist | Jakob Lykke Andersen | 2021-10-02 | 1 | -13/+13 |
| | | |||||
| * | py nodes, Tuple | Jakob Lykke Andersen | 2021-10-02 | 1 | -7/+14 |
| | | |||||
| * | py nodes, List | Jakob Lykke Andersen | 2021-10-02 | 1 | -1/+3 |
| | | |||||
| * | py nodes, BitOr | Jakob Lykke Andersen | 2021-10-02 | 1 | -5/+5 |
| | | |||||
* | | Fix #9697: An index entry with parens was registered for py:method | Takeshi KOMIYA | 2021-10-03 | 1 | -1/+1 |
|/ | |||||
* | Fix #9576: py domain: Literal typehint was converted to a cross reference | Takeshi KOMIYA | 2021-09-03 | 1 | -0/+21 |
| | | | | | 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 | -2/+4 |
| | |||||
* | Cloase #9445: :py:property: directive now supports :classmethod: option | Takeshi KOMIYA | 2021-07-17 | 1 | -5/+19 |
| | | | | | 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 | -15/+68 |
|\ | |||||
| * | Close #9268: python_use_unqualified_type_names supports type field | Takeshi KOMIYA | 2021-06-03 | 1 | -0/+6 |
| | | |||||
| * | Fix #9280: py domain: "exceptions" module is not displayed | Takeshi KOMIYA | 2021-05-30 | 1 | -14/+2 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Close #1874: py domain: Support union types using `|` in info-field-list | Takeshi KOMIYA | 2021-05-22 | 1 | -0/+34 |
| | | |||||
| * | Fix #9224: info-field-list does not support a type containing space | Takeshi KOMIYA | 2021-05-15 | 1 | -1/+26 |
| | | | | | | | | | | | | | | | | | | So far, DocFieldTransformer has split the field name for `:type:` and `:param:` at the first whitespace. Therefore, it does not allow to use a type containing whitespace (ex. `Dict[str, str]`). This changes the splitting logic to divide the field name at the last whitespace (a.k.a `rstrip()`). It allows to use whitespaces on types. | ||||
* | | py domain: Add testcase for empty callable (refs: #9427) | Takeshi KOMIYA | 2021-07-11 | 1 | -0/+9 |
|/ | |||||
* | Fix #9205: py domain: canonical option causes xref resolution error | Takeshi KOMIYA | 2021-05-11 | 1 | -0/+11 |
| | | | | | | The :canonical: option causes "more than one target for cross-reference" warning because the class having the same name is registered. | ||||
* | Fix #9121: py domain: duplicated warning for canonical and alias | Takeshi KOMIYA | 2021-04-23 | 1 | -0/+33 |
| | | | | | | 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/+24 |
| | | | | | | | | | | 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. | ||||
* | py domain: Add py:property directive to describe a property (refs: #7068) | Takeshi KOMIYA | 2021-03-11 | 1 | -0/+27 |
| | |||||
* | Fix #7199: py domain: Add a new confval: python_use_unqualified_type_names | Takeshi KOMIYA | 2021-03-06 | 1 | -0/+19 |
| | | | | | | 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. |