summaryrefslogtreecommitdiff
path: root/tests/test_domain_py.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix #8008: py domain: failed to parse a type annotation containing ellipsisTakeshi KOMIYA2020-07-301-0/+14
| | | | Fix _parse_annotation() does not support a type annotation having ellipsis.
* Fix #7928: py domain: failed to resolve a type annotation for the attributeTakeshi KOMIYA2020-07-091-13/+22
|
* Add tests for noindexentryJakob Lykke Andersen2020-07-051-0/+16
|
* Fix #7808: autodoc: Warnings raised on variable and attribute type annotationsTakeshi KOMIYA2020-06-101-2/+5
|
* ... and don't break tests.Jakob Lykke Andersen2020-05-141-8/+8
|
* Close #7596: py domain: Change a type annotation for variables to a hyperlinkTakeshi KOMIYA2020-05-041-2/+4
|
* Close #7143: py domain: Add :final: option to py:*: directivesTakeshi KOMIYA2020-04-281-1/+43
|
* Fix #7510: py domain: keyword-only arguments are wrongly renderedTakeshi KOMIYA2020-04-191-9/+3
|
* Fix #7461: py domain: fails with IndexError for empty tuple in type annotationTakeshi KOMIYA2020-04-121-0/+7
|
* Fix #7445: a return annotation ``None`` is not converted to a hyperlinkTakeshi KOMIYA2020-04-101-0/+7
|
* Fix #7301: capital characters are not allowed for node_idTakeshi KOMIYA2020-03-291-26/+26
|
* Fix #7219: py:module directive generates incorrect index entryTakeshi KOMIYA2020-03-291-1/+1
|
* Fix #7219: py:function directive generates incorrect index entryTakeshi KOMIYA2020-03-291-2/+13
|
* Merge pull request #7356 from tk0miya/7301_node_idTakeshi KOMIYA2020-03-221-34/+34
|\ | | | | Fix #7301: Allow . and _ for node_id
| * Fix #7301: Allow . and _ for node_idTakeshi KOMIYA2020-03-221-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | 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-13/+44
|/
* py domain: Allow to make a style for arguments of functions and methods ↵Takeshi KOMIYA2020-03-141-30/+50
| | | | (refs: #6417)
* test: Add testcases for decoratorsTakeshi KOMIYA2020-03-071-0/+30
|
* py domain: Generate node_id for objects in the right wayTakeshi KOMIYA2020-03-071-46/+49
|
* py domain: Generate node_id for modules in the right wayTakeshi KOMIYA2020-03-071-9/+9
|
* Add testcase for modindex_common_prefixTakeshi KOMIYA2020-02-291-0/+23
|
* Fix missing commas after PEP-570 separatorsTakeshi KOMIYA2020-02-241-6/+6
|
* Merge pull request #7155 from tk0miya/function_signature2Takeshi KOMIYA2020-02-221-1/+68
|\ | | | | py domain: Use AST parser to convert signature to doctree
| * py domain: Use AST parser to convert signature to doctreeTakeshi KOMIYA2020-02-161-1/+68
| |
* | test: Use Path.read_text() insteadTakeshi KOMIYA2020-02-161-1/+1
|/
* Merge branch '2.0' into 6785_attr_can_refer_propsTakeshi KOMIYA2020-02-061-2/+20
|\
| * py domain: Support type annotations for variablesTakeshi KOMIYA2020-02-011-2/+20
| | | | | | | | | | | | 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-11/+29
|/
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Merge pull request #6365 from tk0miya/refactor_py_domainTakeshi KOMIYA2019-05-191-1/+15
|\ | | | | Add :abstractmethod: option to py:method directive and support abstractmethod by autodoc
| * Add :abstractmethod: option to py:method directive (refs: #6138)Takeshi KOMIYA2019-05-151-1/+15
| |
* | Fix #6379: py domain: Module index (py-modindex.html) has duplicate titlesTakeshi KOMIYA2019-05-191-1/+50
|/
* Add :property: option to py:method directiveTakeshi KOMIYA2019-05-121-1/+14
|
* Fix #4777: Add :async: option to py:function and py:method directivesTakeshi KOMIYA2019-04-231-5/+28
|
* Add :classmethod: and :staticmethod: options to py:method directiveTakeshi KOMIYA2019-04-131-8/+37
|
* Add PyFunction and PyVariable; directives for python functions and variablesTakeshi KOMIYA2019-04-131-0/+23
|
* Add PyAttribute class; a directive for python attribute descriptionTakeshi KOMIYA2019-04-071-0/+19
|
* Add PyClassMethod and PyStaticMethod; directives for python method descriptionTakeshi KOMIYA2019-04-071-0/+42
|
* Add PyMethod class; a directive for python method descriptionTakeshi KOMIYA2019-04-071-0/+21
|
* Fix #6196: py domain: unexpected prefix is generatedTakeshi KOMIYA2019-03-231-0/+17
|
* Add testcase for sphinx.domains.pythonTakeshi KOMIYA2019-03-231-0/+70
|
* Fix #6140: Use unittest.mock instead of mockTakeshi KOMIYA2019-03-091-1/+2
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Replace use of six.text_type with strJon Dufresne2018-12-181-7/+6
| | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency.
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-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.
* | refactor: Remove u-prefix from stringsTakeshi KOMIYA2018-12-161-40/+33
|/
* Fix #5432: py domain: :type: field can't process :term: referencesTakeshi KOMIYA2018-09-221-1/+4
|
* Fix flake8 violationsTakeshi KOMIYA2018-02-191-2/+1
|
* Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\