Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fix #8041: autodoc: An ivar on super class is not shown unexpectedly | Takeshi KOMIYA | 2020-08-08 | 1 | -4/+26 | |
| | | | | | | | | | | | | | | | | | | An annotated instance variable on super class is not documented when derived class has also other annotated instance variables because `obj.__annotations__` is overrided by derived class's type hints. To get annotations of the target class correctly, this scans MRO to get all of annotated instance variables. | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-07-24 | 1 | -4/+37 | |
|\ \ | |/ | ||||||
| * | Fix #1362: autodoc: Support private class attributes | Takeshi KOMIYA | 2020-07-18 | 1 | -4/+37 | |
| | | | | | | | | | | | | So far, autodoc treats a "private" class attribute as a mere attribute. But its name is mangled by python interpreter. This make it unmangled name to be documented expectedly. | |||||
| * | Preserve backwards compatibility | Peter Bell | 2020-07-16 | 1 | -6/+13 | |
| | | ||||||
| * | Require canonical name to be specified when calling deprecated_alias | Peter Bell | 2020-07-15 | 1 | -5/+5 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-07-05 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Fix exception causes all over the codebase | Ram Rachum | 2020-06-14 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-05-04 | 1 | -2/+4 | |
|\ \ | |/ | ||||||
| * | refactor: autodoc: Update type annotations | Takeshi KOMIYA | 2020-05-02 | 1 | -4/+6 | |
| | | ||||||
| * | Fix #6857: autodoc: failed to detect a classmethod on Enum class | Takeshi KOMIYA | 2020-04-30 | 1 | -1/+2 | |
| | | ||||||
* | | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | 2020-04-29 | 1 | -16/+0 | |
| | | ||||||
* | | Use typing.NamedTuple instead of collections.namedtuple as possible | Takeshi KOMIYA | 2020-03-07 | 1 | -3/+5 | |
|/ | ||||||
* | Merge branch '2.0' | Takeshi KOMIYA | 2020-02-11 | 1 | -2/+2 | |
|\ | ||||||
| * | Fix #7126: autodoc: TypeError: getset_descriptor object is not iterable | Takeshi KOMIYA | 2020-02-11 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2020-01-30 | 1 | -3/+30 | |
|\ \ | |/ | ||||||
| * | Close #7051: autodoc: Support instance variables without defaults (PEP-526) | Takeshi KOMIYA | 2020-01-25 | 1 | -3/+30 | |
| | | ||||||
* | | 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-08-19 | 1 | -4/+3 | |
|\ \ | |/ | ||||||
| * | Switch uses of __import__ to importlib.get_module() | Jon Dufresne | 2019-08-17 | 1 | -4/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-07-01 | 1 | -10/+7 | |
|\ \ | |/ | ||||||
| * | Migrate to py3 style type annotation: sphinx.ext.autodoc.importer | Takeshi KOMIYA | 2019-07-01 | 1 | -10/+7 | |
| | | ||||||
| * | Don't crash when autodocumenting classes with __slots__ = None | Audrey Dutcher | 2019-06-05 | 1 | -1/+1 | |
| | | ||||||
* | | Don't crash when autodocumenting classes with __slots__ = None | Audrey Dutcher | 2019-06-04 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-05-29 | 1 | -1/+8 | |
|\ \ | |/ | ||||||
| * | Close #6325: autodoc: Support attributes in __slots__ | Takeshi KOMIYA | 2019-05-22 | 1 | -1/+8 | |
| | | ||||||
* | | Drop features and APIs deprecated in 1.8 | Takeshi KOMIYA | 2019-03-30 | 1 | -2/+1 | |
|/ | ||||||
* | refactor: Move implementation of mock to sphinx.ext.autodoc.mock | Takeshi KOMIYA | 2019-02-27 | 1 | -198/+18 | |
| | ||||||
* | Merge branch 'master' into 5394_meaningful_annotations_for_mock | Takeshi KOMIYA | 2019-02-11 | 1 | -28/+90 | |
|\ | ||||||
| * | Merge branch '1.8' | Takeshi KOMIYA | 2019-02-03 | 1 | -1/+1 | |
| |\ | ||||||
| | * | Fix #5995: autodoc: autodoc_mock_imports conflict with metaclass | Takeshi KOMIYA | 2019-02-02 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 | |
| |\ \ | | |/ | ||||||
| | * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 | |
| | | | ||||||
| * | | 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. | |||||
| * | | Merge pull request #5796 from jdufresne/super | Takeshi KOMIYA | 2018-12-16 | 1 | -3/+3 | |
| |\ \ | | | | | | | | | Use Python 3 super() argument-less syntax | |||||
| | * | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | |||||
| * | | | Use os.devnull; replace hard coded value | Jon Dufresne | 2018-12-15 | 1 | -1/+2 | |
| |/ / | | | | | | | | | | https://docs.python.org/3/library/os.html#os.devnull | |||||
| * | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -3/+2 | |
| | | | ||||||
| * | | Define _MockImporter as a MetaPathFinder | Jon Dufresne | 2018-12-09 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The instance is added to sys.meta_path. Per the documentation, this should be a MetaPathFinder: https://docs.python.org/3/library/sys.html#sys.meta_path Correct the _MockImporter.find_module() type signature per typeshed. https://github.com/python/typeshed/blob/0b49ce75b478fdf283dda5dd1368759ac342dfe2/stdlib/3/importlib/abc.pyi#L56-L57 | |||||
| * | | refactor ``mock()`` to based on PEP-451 implementation | Takeshi KOMIYA | 2018-12-04 | 1 | -8/+69 | |
| | | | ||||||
| * | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 | |
| | | | ||||||
| * | | Replace all six.itervalues()/.iteritems() with .values()/.items() | Jon Dufresne | 2018-09-23 | 1 | -3/+1 | |
| | | | ||||||
| * | | Merge branch 'master' into HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -9/+6 | |
| |\ \ | ||||||
| | * | | refactoring: Drop PY2 and PY3 flags | Takeshi KOMIYA | 2018-09-22 | 1 | -3/+1 | |
| | | | | ||||||
| | * | | Drop branches for sys.version_info < (3, 4) | Takeshi KOMIYA | 2018-09-22 | 1 | -6/+0 | |
| | |/ | ||||||
| | * | Fix #5436: Autodoc does not work with enum subclasses with properties/methods | Takeshi KOMIYA | 2018-09-18 | 1 | -1/+6 | |
| | | | ||||||
| * | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -2/+2 | |
| |/ | | | | | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | |||||
| * | Fix autodoc: ImportError is replaced by AttributeError for deeper module | Takeshi KOMIYA | 2018-09-03 | 1 | -1/+7 | |
| | | ||||||
* | | removed redundant "type: ignore" | Max | 2018-09-07 | 1 | -1/+3 | |
| | | ||||||
* | | fix returned type | Max | 2018-09-07 | 1 | -2/+2 | |
| | |