Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
|\ | ||||||
| * | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'stable' | Takeshi KOMIYA | 2017-10-23 | 1 | -0/+9 | |
|\ \ | |/ | ||||||
| * | Fix #3739: ``:module:`` option is ignored at content of pyobjects | Takeshi KOMIYA | 2017-10-21 | 1 | -0/+9 | |
| | | ||||||
* | | Add tests | Sam Park | 2017-07-15 | 1 | -1/+2 | |
| | | ||||||
* | | Python parameter/variable types should match classes, not all objects | Andy Freeland | 2017-07-12 | 1 | -4/+4 | |
|/ | | | | | | | | | | | | | | | | | | | | | Parameter and variable types in the Python domain have the counter-intuitive behavior of matching instance methods (or likely any other objects) rather than classes, e.g.: ```python class Foo(object): def list(self): """List some things.""" def bar(x): """ :param x: x :type x: list """ ``` `bar()` will link to `Foo.list()` rather than the standard library `list` type. | |||||
* | refs #3458: add sphinx.testing that are moved from /tests directory. | shimizukawa | 2017-05-14 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'stable' into 1.6-release | Takeshi KOMIYA | 2017-05-13 | 1 | -1/+5 | |
|\ | ||||||
| * | Fix #3320: Warning about reference target not being found for container types | Takeshi KOMIYA | 2017-05-13 | 1 | -1/+5 | |
| | | ||||||
* | | Fix #3351: intersphinx does not refers context | Takeshi KOMIYA | 2017-04-16 | 1 | -2/+32 | |
|/ |