summaryrefslogtreecommitdiff
path: root/sphinx/domains/python.py
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Fix #7428: py domain: a reference to class ``None`` emits a nitpicky warningTakeshi KOMIYA2020-04-081-1/+1
| | |
* | | Fix mypy violationsTakeshi KOMIYA2020-04-061-5/+5
| | |
* | | Merge branch '3.x'Takeshi KOMIYA2020-04-061-42/+64
|\ \ \ | |/ /
| * | Merge branch '3.0.x' into 3.xTakeshi KOMIYA2020-04-051-5/+16
| |\ \ | | |/
| | * Fix #7219: py:module directive generates incorrect index entryTakeshi KOMIYA2020-03-291-2/+2
| | |
| | * Fix #7219: py:function directive generates incorrect index entryTakeshi KOMIYA2020-03-291-3/+14
| | |
| * | Merge pull request #7363 from tk0miya/refactor_pydomainTakeshi KOMIYA2020-03-301-37/+48
| |\ \ | | |/ | |/| refactor: py domain: Use namedtuple for python objects and modules
| | * refactor: py domain: Use namedtuple for python modulesTakeshi KOMIYA2020-03-221-17/+24
| | |
| | * refactor: py domain: Use namedtuple for python objectsTakeshi KOMIYA2020-03-221-20/+24
| | |
* | | Merge branch '3.x'Takeshi KOMIYA2020-03-231-3/+58
|\ \ \ | |/ /
| * | Merge pull request #7356 from tk0miya/7301_node_idTakeshi KOMIYA2020-03-221-1/+1
| |\ \ | | |/ | |/| Fix #7301: Allow . and _ for node_id
| | * Fix #7301: Allow . and _ for node_idTakeshi KOMIYA2020-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In development of 3.0, Sphinx starts to obey to the rule of "Identifier Normalization" of docutils. This extends it to allow dots(".") and underscores("_") for node identifier. It allows Sphinx to generate node identifier from source string as possible as it is (bacause dots and underscores are usually used in many programming langauges). This change will keep not to break hyperlinks as possible.
| * | Close #7341: py domain: type annotations are converted to cross refsTakeshi KOMIYA2020-03-221-2/+57
| |/
* | Merge branch '3.x'Takeshi KOMIYA2020-03-211-10/+19
|\ \ | |/
| * Fix #7334: py domain: Disable smartquotes for defvalues of argumentsTakeshi KOMIYA2020-03-191-1/+2
| |
| * Merge pull request #6990 from tk0miya/function_signatureTakeshi KOMIYA2020-03-141-9/+16
| |\ | | | | | | py domain: Allow to make a style for arguments of functions and methods
| | * py domain: Allow to make a style for arguments of functions and methods ↵Takeshi KOMIYA2020-03-141-9/+16
| | | | | | | | | | | | (refs: #6417)
| * | Fix #7304: py domain: Improve warning messages on parsing failureTakeshi KOMIYA2020-03-141-1/+2
| |/
* | Merge branch '3.x'Takeshi KOMIYA2020-03-101-32/+59
|\ \ | |/
| * Merge branch '2.x' into 3.xTakeshi KOMIYA2020-03-101-4/+16
| |\
| | * Fix #7266: Update deprecation messages for PyClassmember and PyModulelevelTakeshi KOMIYA2020-03-071-4/+16
| | |
| * | Merge pull request #7275 from tk0miya/refactor_pydecoratorTakeshi KOMIYA2020-03-081-20/+43
| |\ \ | | | | | | | | py domain: refactor PyDecoratorFunction and PyDecoratorMethod
| | * | py domain: Deprecate PyDecoratorMixinTakeshi KOMIYA2020-03-071-1/+10
| | | |
| | * | py domain: refactor PyDecoratorFunction and PyDecoratorMethodTakeshi KOMIYA2020-03-071-19/+33
| | | |
| * | | Close #7246: Drop special cross reference helper for exceptions, functions ↵Takeshi KOMIYA2020-03-071-8/+0
| |/ / | | | | | | | | | and methods
* | | Deprecate codes for python 3.5Takeshi KOMIYA2020-03-071-5/+1
|/ /
* | Merge pull request #7254 from tk0miya/6895_suppress_builtin_nitpicky_warningTakeshi KOMIYA2020-03-071-0/+29
|\ \ | | | | | | Fix #6895: py domain: Do not emit nitpicky warnings for built-in types
| * | Fix #6895: py domain: Do not emit nitpicky warnings for built-in typesTakeshi KOMIYA2020-03-051-0/+29
| | |
* | | py domain: Generate node_id for objects in the right wayTakeshi KOMIYA2020-03-071-29/+32
| | |
* | | py domain: Generate node_id for modules in the right wayTakeshi KOMIYA2020-03-071-21/+39
| | |
* | | Merge branch '2.x' into 3.xTakeshi KOMIYA2020-03-051-1/+1
|\ \ \ | | |/ | |/|
| * | Fix typoTakeshi KOMIYA2020-03-051-1/+1
| | |
* | | Use a string with warning in `handle_signature`Daniel Hahler2020-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Previously it would pass in the exception object itself, which then might crash filters that are using `record.msg.startswith` etc. The warning was triggered for me with `sig = foo: int = -1`, where it appears to not handle negative numbers (have not investigated).
* | | refactor: Update type annotation for python domainTakeshi KOMIYA2020-03-041-2/+3
| |/ |/|
* | refactor: Set source_info to nodesTakeshi KOMIYA2020-02-291-2/+1
| |
* | Fix missing commas after PEP-570 separatorsTakeshi KOMIYA2020-02-241-3/+3
| |
* | Merge branch 'drop_desc_signature_first' into 3.xTakeshi KOMIYA2020-02-221-1/+0
|\ \
| * | Deprecate desc_signature['first']Takeshi KOMIYA2020-02-091-1/+0
| | |
* | | py domain: Use AST parser to convert signature to doctreeTakeshi KOMIYA2020-02-161-1/+52
|/ /
* | Merge branch '2.0'Takeshi KOMIYA2020-02-091-0/+43
|\ \ | |/
| * Merge branch '2.0' into 6785_attr_can_refer_propsTakeshi KOMIYA2020-02-061-0/+38
| |\
| | * py domain: Support type annotations for variablesTakeshi KOMIYA2020-02-011-0/+38
| | | | | | | | | | | | | | | | | | This adds ``:type:`` and ``:value:`` options to both ``py:data`` and ``py:attribute`` directives. It allows to describe its annotation in detail.
| * | Fix #6785: py domain: :py:attr: is able to refer properties againTakeshi KOMIYA2020-01-251-0/+5
| |/
* | Close #6830: autodoc: consider a member private if docstring has "private" ↵Takeshi KOMIYA2020-01-041-0/+18
| | | | | | | | metadata
* | Merge branch '2.0'Takeshi KOMIYA2020-01-011-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-221-3/+3
|\ \ | |/
| * Replace `a and b or c` by the more legible `b if a or c`.Antony Lee2019-12-211-3/+3
| |
* | Merge branch '2.0'jfbu2019-08-011-5/+9
|\ \ | |/
| * Fix type annotation for python 3.5.1Takeshi KOMIYA2019-07-131-5/+9
| |