Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Autosummary: Extend ``__all__`` members to template rendering (#10811) | Clément Pinard | 2023-04-06 | 1 | -3/+49 |
| | | | | | | | | | | | | | When ``False``, the ``autosummary_ignore_module_all`` option adds members to the module's members entry that will be used for autodoc, but otherwise ignores it. As such, if a class is available in the ``__all__``, it won't be generated. This commit aims to extend the ``__all__`` handling not only to members, but also to corresponding attribute types (function, classes, exceptions, modules) The ``imported_members`` option is set to ``True`` if the object has an ``__all__`` member and ``autosummary_ignore_module_all`` is ``False`` | ||||
* | Remove ``sphinx.locale.setlocale`` | Adam Turner | 2023-03-24 | 1 | -4/+3 |
| | |||||
* | Resolve ``flake8-return`` errors | Adam Turner | 2023-02-18 | 1 | -1/+1 |
| | |||||
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -2/+2 |
| | |||||
* | Resolve Ruff SIM114 violations | Adam Turner | 2023-02-15 | 1 | -6/+6 |
| | |||||
* | Fix various Ruff errors | Adam Turner | 2023-01-31 | 1 | -2/+4 |
| | |||||
* | Adopt ``profile = "black"`` for ``isort`` | Adam Turner | 2023-01-07 | 1 | -6/+17 |
| | | | | This allows using Ruff's import sorting fixers | ||||
* | Document ``typing.NewType`` as a class (#10700) | Adam Turner | 2023-01-02 | 1 | -3/+2 |
| | |||||
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -4/+4 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 1 | -8/+8 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -27/+27 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Fix more strict static typing errors (#10681) | danieleades | 2022-08-28 | 1 | -8/+12 |
| | |||||
* | remove unnecessary generators (C400, C401) | Daniel Eades | 2022-06-03 | 1 | -2/+2 |
| | |||||
* | remove unnecessary list calls around 'sorted' (C413) | Daniel Eades | 2022-06-03 | 1 | -1/+1 |
| | |||||
* | Fix #10509: autosummary: autosummary fails with a shared library | Takeshi KOMIYA | 2022-06-03 | 1 | -2/+6 |
| | |||||
* | autosummary: global variables having doc-comment are considered as ↵ | Takeshi KOMIYA | 2022-05-07 | 1 | -2/+4 |
| | | | | non-imported members of the module | ||||
* | Fix a flake8 warning | Takeshi KOMIYA | 2022-05-07 | 1 | -1/+0 |
| | |||||
* | Merge branch '5.x' into 10258_autosummary | Takeshi KOMIYA | 2022-05-07 | 1 | -69/+15 |
|\ | |||||
| * | Remove deprecated code for Sphinx 5.0 | Adam Turner | 2022-04-17 | 1 | -56/+7 |
| | | |||||
| * | Merge branch '4.x' | Takeshi KOMIYA | 2022-03-19 | 1 | -13/+8 |
| |\ | |||||
| | * | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | | | |||||
| | * | Conform to PEP 257 summary line conventions | Adam Turner | 2022-02-20 | 1 | -1/+3 |
| | | | |||||
| | * | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -8/+8 |
| | | | |||||
| | * | 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 |
| | | | |||||
* | | | Do not pass attr_docs as an argument into ModuleScanner.scan | Matyas Novak | 2022-03-14 | 1 | -4/+6 |
| | | | |||||
* | | | Recognize a documented attribute of a module as non-imported. | Matyas Novak | 2022-03-11 | 1 | -5/+6 |
|/ / | |||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | address some unused loop control variables (B007) | Daniel Eades | 2022-01-12 | 1 | -1/+1 |
| | | |||||
* | | autosummary: autosummary: import_by_name() now raises ImportExceptionGroup | Takeshi KOMIYA | 2022-01-02 | 1 | -2/+2 |
|/ | | | | | It starts to `ImportExceptionGroup` exception instead of `ImportError` by default when it failed to import target object. | ||||
* | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | | |||||
* | | Close #9555: autosummary: Improve error messages on failure to load target ↵ | Takeshi KOMIYA | 2021-12-30 | 1 | -9/+18 |
|/ | | | | object | ||||
* | Fix lints and reorder args of members_of | Josh Mitchell | 2021-11-22 | 1 | -6/+7 |
| | |||||
* | Fixed missed ignore___all__ -> ignore_module_all | Josh Mitchell | 2021-11-15 | 1 | -7/+7 |
| | |||||
* | Corrections from review by tk0miya | Josh Mitchell | 2021-11-15 | 1 | -1/+1 |
| | |||||
* | #2021: Allow autosummary to respect __all__ | Josh Mitchell | 2021-11-15 | 1 | -5/+25 |
| | |||||
* | Update Sphinx url: s|https?://sphinx-doc\.org/|https://www.sphinx-doc.org/|g | Jon Dufresne | 2021-09-06 | 1 | -1/+1 |
| | | | | | | https://sphinx-doc.org is unreachable, but is linked from the PyPI page: https://pypi.org/project/Sphinx/. Switch to https://www.sphinx-doc.org/ instead. | ||||
* | revert get members for module | pbudzyns | 2021-05-02 | 1 | -8/+20 |
| | |||||
* | add type hints | Pawel Budzynski | 2021-04-29 | 1 | -2/+2 |
| | |||||
* | autosummary includes instance attributes | Pawel Budzynski | 2021-04-29 | 1 | -5/+11 |
| | |||||
* | Merge pull request #9064 from tk0miya/refactor_type_annotation | Takeshi KOMIYA | 2021-04-08 | 1 | -1/+1 |
|\ | | | | | refactor: Add Optional to type annotations | ||||
| * | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2021-04-08 | 1 | -1/+1 |
| | | |||||
* | | refactor: Use PEP-526 based variable annotation | Takeshi KOMIYA | 2021-04-08 | 1 | -9/+9 |
|/ | |||||
* | refactor: Use PEP-526 based variable annotation (sphinx.ext) | Takeshi KOMIYA | 2021-03-15 | 1 | -1/+1 |
| | |||||
* | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-22 | 1 | -0/+4 |
|\ | |||||
| * | refactor: autosummary: Deprecate _simple_info() and _simple_warn() | Takeshi KOMIYA | 2021-01-20 | 1 | -0/+4 |
| | | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Merge branch '3.4.x' into 3.x | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
| |\ |