Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #8008: py domain: failed to parse a type annotation containing ellipsis | Takeshi KOMIYA | 2020-07-30 | 1 | -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 attribute | Takeshi KOMIYA | 2020-07-09 | 1 | -13/+22 |
| | |||||
* | Add tests for noindexentry | Jakob Lykke Andersen | 2020-07-05 | 1 | -0/+16 |
| | |||||
* | Fix #7808: autodoc: Warnings raised on variable and attribute type annotations | Takeshi KOMIYA | 2020-06-10 | 1 | -2/+5 |
| | |||||
* | ... and don't break tests. | Jakob Lykke Andersen | 2020-05-14 | 1 | -8/+8 |
| | |||||
* | Close #7596: py domain: Change a type annotation for variables to a hyperlink | Takeshi KOMIYA | 2020-05-04 | 1 | -2/+4 |
| | |||||
* | Close #7143: py domain: Add :final: option to py:*: directives | Takeshi KOMIYA | 2020-04-28 | 1 | -1/+43 |
| | |||||
* | Fix #7510: py domain: keyword-only arguments are wrongly rendered | Takeshi KOMIYA | 2020-04-19 | 1 | -9/+3 |
| | |||||
* | Fix #7461: py domain: fails with IndexError for empty tuple in type annotation | Takeshi KOMIYA | 2020-04-12 | 1 | -0/+7 |
| | |||||
* | Fix #7445: a return annotation ``None`` is not converted to a hyperlink | Takeshi KOMIYA | 2020-04-10 | 1 | -0/+7 |
| | |||||
* | Fix #7301: capital characters are not allowed for node_id | Takeshi KOMIYA | 2020-03-29 | 1 | -26/+26 |
| | |||||
* | Fix #7219: py:module directive generates incorrect index entry | Takeshi KOMIYA | 2020-03-29 | 1 | -1/+1 |
| | |||||
* | Fix #7219: py:function directive generates incorrect index entry | Takeshi KOMIYA | 2020-03-29 | 1 | -2/+13 |
| | |||||
* | Merge pull request #7356 from tk0miya/7301_node_id | Takeshi KOMIYA | 2020-03-22 | 1 | -34/+34 |
|\ | | | | | Fix #7301: Allow . and _ for node_id | ||||
| * | Fix #7301: Allow . and _ for node_id | Takeshi KOMIYA | 2020-03-22 | 1 | -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 refs | Takeshi KOMIYA | 2020-03-22 | 1 | -13/+44 |
|/ | |||||
* | py domain: Allow to make a style for arguments of functions and methods ↵ | Takeshi KOMIYA | 2020-03-14 | 1 | -30/+50 |
| | | | | (refs: #6417) | ||||
* | test: Add testcases for decorators | Takeshi KOMIYA | 2020-03-07 | 1 | -0/+30 |
| | |||||
* | py domain: Generate node_id for objects in the right way | Takeshi KOMIYA | 2020-03-07 | 1 | -46/+49 |
| | |||||
* | py domain: Generate node_id for modules in the right way | Takeshi KOMIYA | 2020-03-07 | 1 | -9/+9 |
| | |||||
* | Add testcase for modindex_common_prefix | Takeshi KOMIYA | 2020-02-29 | 1 | -0/+23 |
| | |||||
* | Fix missing commas after PEP-570 separators | Takeshi KOMIYA | 2020-02-24 | 1 | -6/+6 |
| | |||||
* | Merge pull request #7155 from tk0miya/function_signature2 | Takeshi KOMIYA | 2020-02-22 | 1 | -1/+68 |
|\ | | | | | py domain: Use AST parser to convert signature to doctree | ||||
| * | py domain: Use AST parser to convert signature to doctree | Takeshi KOMIYA | 2020-02-16 | 1 | -1/+68 |
| | | |||||
* | | test: Use Path.read_text() instead | Takeshi KOMIYA | 2020-02-16 | 1 | -1/+1 |
|/ | |||||
* | Merge branch '2.0' into 6785_attr_can_refer_props | Takeshi KOMIYA | 2020-02-06 | 1 | -2/+20 |
|\ | |||||
| * | py domain: Support type annotations for variables | Takeshi KOMIYA | 2020-02-01 | 1 | -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 again | Takeshi KOMIYA | 2020-01-25 | 1 | -11/+29 |
|/ | |||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | |||||
* | Merge pull request #6365 from tk0miya/refactor_py_domain | Takeshi KOMIYA | 2019-05-19 | 1 | -1/+15 |
|\ | | | | | Add :abstractmethod: option to py:method directive and support abstractmethod by autodoc | ||||
| * | Add :abstractmethod: option to py:method directive (refs: #6138) | Takeshi KOMIYA | 2019-05-15 | 1 | -1/+15 |
| | | |||||
* | | Fix #6379: py domain: Module index (py-modindex.html) has duplicate titles | Takeshi KOMIYA | 2019-05-19 | 1 | -1/+50 |
|/ | |||||
* | Add :property: option to py:method directive | Takeshi KOMIYA | 2019-05-12 | 1 | -1/+14 |
| | |||||
* | Fix #4777: Add :async: option to py:function and py:method directives | Takeshi KOMIYA | 2019-04-23 | 1 | -5/+28 |
| | |||||
* | Add :classmethod: and :staticmethod: options to py:method directive | Takeshi KOMIYA | 2019-04-13 | 1 | -8/+37 |
| | |||||
* | Add PyFunction and PyVariable; directives for python functions and variables | Takeshi KOMIYA | 2019-04-13 | 1 | -0/+23 |
| | |||||
* | Add PyAttribute class; a directive for python attribute description | Takeshi KOMIYA | 2019-04-07 | 1 | -0/+19 |
| | |||||
* | Add PyClassMethod and PyStaticMethod; directives for python method description | Takeshi KOMIYA | 2019-04-07 | 1 | -0/+42 |
| | |||||
* | Add PyMethod class; a directive for python method description | Takeshi KOMIYA | 2019-04-07 | 1 | -0/+21 |
| | |||||
* | Fix #6196: py domain: unexpected prefix is generated | Takeshi KOMIYA | 2019-03-23 | 1 | -0/+17 |
| | |||||
* | Add testcase for sphinx.domains.python | Takeshi KOMIYA | 2019-03-23 | 1 | -0/+70 |
| | |||||
* | Fix #6140: Use unittest.mock instead of mock | Takeshi KOMIYA | 2019-03-09 | 1 | -1/+2 |
| | |||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | |||||
* | | Replace use of six.text_type with str | Jon Dufresne | 2018-12-18 | 1 | -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 files | Jon Dufresne | 2018-12-16 | 1 | -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 strings | Takeshi KOMIYA | 2018-12-16 | 1 | -40/+33 |
|/ | |||||
* | Fix #5432: py domain: :type: field can't process :term: references | Takeshi KOMIYA | 2018-09-22 | 1 | -1/+4 |
| | |||||
* | Fix flake8 violations | Takeshi KOMIYA | 2018-02-19 | 1 | -2/+1 |
| | |||||
* | Merge branch 'happy_new_year' into master | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 |
|\ |