Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Drop python 3.6 support (#10468) | Takeshi KOMIYA | 2022-06-16 | 1 | -1/+0 |
| | |||||
* | Extend `test_mock_decorator` for class method. | Christian Walch | 2022-04-01 | 1 | -0/+6 |
| | |||||
* | 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 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Fix #9883: autodoc: doccomment for the alias to mocked object was ignored | Takeshi KOMIYA | 2021-11-29 | 1 | -0/+1 |
| | |||||
* | Fix #8134: autodoc: crashes when mocked decorator takes arguments | Takeshi KOMIYA | 2021-01-24 | 1 | -7/+12 |
| | | | | | | | | | | autodoc crashed when a decorator in mocked module takes arguments because mock system returns the first argument for the decorator as a decorated object. This changes the approach for mocking decorators that remembers arguments for each decoration, and fetch the latest argument on generating document. | ||||
* | A happy new year! | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
| | | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype | ||||
* | autodoc: Add a helper that checks the object is mocked; ismock() | Takeshi KOMIYA | 2020-12-28 | 1 | -1/+17 |
| | |||||
* | Fix #7886: autodoc: TypeError is raised on mocking generic-typed classes | Takeshi KOMIYA | 2020-06-30 | 1 | -0/+12 |
| | |||||
* | Merge branch '2.0' | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-10-20 | 1 | -0/+21 |
|\ \ | |/ | |||||
| * | Fix #6709: autodoc: mock object does not work as a class decorator | Takeshi KOMIYA | 2019-10-06 | 1 | -0/+21 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-08-19 | 1 | -5/+6 |
|\ \ | |/ | |||||
| * | Switch uses of __import__ to importlib.get_module() | Jon Dufresne | 2019-08-17 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Python docs for __import__ recommend using importlib.get_module(). https://docs.python.org/3/library/functions.html#__import__ > Note: This is an advanced function that is not needed in everyday > Python programming, unlike importlib.import_module(). As importlib.get_module() uses the Python module cache and returns the module, this also allows simplifying many module cache checks of use of sys.modules. importlib.get_module() has been available since Python 3.3. | ||||
* | | Drop features and APIs deprecated in 1.8 | Takeshi KOMIYA | 2019-03-30 | 1 | -1/+1 |
|/ | |||||
* | refactor: Move implementation of mock to sphinx.ext.autodoc.mock | Takeshi KOMIYA | 2019-02-27 | 1 | -0/+97 |