Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | _MockModule and _MockObject now display meaningful names in type annotations ↵ | Max | 2018-09-07 | 1 | -10/+27 | |
|/ | | | | and superclass names | |||||
* | Close #2820: autoclass directive supports nested class | Takeshi KOMIYA | 2018-07-22 | 1 | -2/+15 | |
| | ||||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-07-17 | 1 | -2/+11 | |
|\ | ||||||
| * | Fix #5139: autodoc: Enum argument missing if it shares value with another | Takeshi KOMIYA | 2018-07-15 | 1 | -2/+11 | |
| | | ||||||
* | | Merge branch 1.7 | shimizukawa | 2018-05-25 | 1 | -4/+4 | |
|\ \ | |/ | ||||||
| * | Fix #4931: autodoc: crashed when subclass of mocked class are processed by ↵ | Takeshi KOMIYA | 2018-05-24 | 1 | -4/+4 | |
| | | | | | | | | napoleon module | |||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-05-21 | 1 | -1/+13 | |
|\ \ | |/ | ||||||
| * | Fix #4956: autodoc: Failed to extract document from a subclass of the class ↵ | Takeshi KOMIYA | 2018-05-21 | 1 | -1/+13 | |
| | | | | | | | | on mocked module | |||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -2/+2 | |
| | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | |||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-23 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix error reporting for parameterless ImportErrors | adam-azarchs | 2018-02-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | In some cases, a module may raise an ImportError without any arguments, e.g. if not_allowed(): raise ImportError In this case, the exception has no args. This is bad practice, but it happens. Currently, autodoc will crash with IndexError: tuple index out of range | |||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-18 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 | |
| | | ||||||
* | | Update type annotations | Takeshi KOMIYA | 2018-02-04 | 1 | -0/+2 | |
|/ | ||||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -2/+2 | |
| | ||||||
* | autodoc: prefer _MockImporter over other importers in sys.path | Rouven Czerwinski | 2018-01-27 | 1 | -1/+1 | |
| | | | | | | | In case we want to mock modules which are actually available in the current environment, we need to add the _MockImporter before other importers. We ran into this problem in our application, where importing the existing modules caused side effects which were not fixed by autodoc_mock_imports. | |||||
* | autodoc: only mock specified modules with their descendants | Robin Jarry | 2018-01-13 | 1 | -11/+6 | |
| | | | | | | | | | | Do not mock the ancestors of the specified modules in autodoc_mock_imports. Only mock the modules themselves and their descendants (as specified in the docs). Fix the test configs accordingly. Signed-off-by: Robin Jarry <robin@jarry.cc> | |||||
* | Fix enum34 members are treated as inherited member | Takeshi KOMIYA | 2018-01-06 | 1 | -1/+7 | |
| | ||||||
* | Fix mypy violation | Takeshi KOMIYA | 2018-01-06 | 1 | -1/+1 | |
| | ||||||
* | autodoc: Refactor get_object_members() | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+32 | |
| | ||||||
* | Refactor: Add import_object() | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+51 | |
| | ||||||
* | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
| | ||||||
* | autodoc: Fix error handling for import_module() | Takeshi KOMIYA | 2017-12-14 | 1 | -2/+2 | |
| | ||||||
* | autodoc: refactor MockImporter | Takeshi KOMIYA | 2017-12-14 | 1 | -3/+13 | |
| | ||||||
* | Fix issue in import_module returning wrong module | Pauli Virtanen | 2017-11-11 | 1 | -1/+2 | |
| | ||||||
* | Fix flake8 violation | Takeshi KOMIYA | 2017-11-11 | 1 | -1/+1 | |
| | ||||||
* | Move import_module() to sphinx.ext.autodoc.importer | Takeshi KOMIYA | 2017-11-11 | 1 | -0/+17 | |
| | ||||||
* | Separate autodoc.py | Takeshi KOMIYA | 2017-06-17 | 1 | -0/+118 | |