summaryrefslogtreecommitdiff
path: root/sphinx/ext/napoleon/iterators.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove the deprecated ``sphinx.ext.napoleon.iterators`` module (#11364)Adam Turner2023-04-271-235/+0
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-1/+1
|
* Use PEP 604 typesAdam Turner2023-01-011-6/+6
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Fix more strict static typing errors (#10681)danieleades2022-08-281-2/+2
|
* Replace `napoleon.iterators` by simpler stack implementation (#9856)Antony Lee2022-06-261-0/+6
|
* Fix whitespaceAdam Turner2022-03-071-5/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-3/+3
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* refactor: Use PEP-526 based variable annotation (sphinx.ext)Takeshi KOMIYA2021-03-151-2/+2
|
* A happy new year!Takeshi KOMIYA2021-01-011-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
* refactor: Add Optional to type annotationsTakeshi KOMIYA2020-04-191-4/+4
|
* Merge branch '2.0'Takeshi KOMIYA2020-01-011-3/+3
|\
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
| * mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA2019-12-301-2/+2
| |
* | Remove obsolete comment and workaround for 2to3Jon Dufresne2019-08-151-3/+1
|/ | | | | Sphinx's use of 2to3 was removed in 956d6286bf30bedd119a3027edf86a314198aaed.
* Migrate to py3 style type annotation: sphinx.ext.napoleon.iteratorsTakeshi KOMIYA2019-07-041-22/+10
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-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.
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-1/+1
| | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
* | Remove unnecessary object from class definitionsJon Dufresne2018-09-111-1/+1
|/ | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
* Update Python 2 doc links to Python 3Jon Dufresne2018-06-091-1/+1
| | | | Python 3 docs are more actively maintained and are the future.
* Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Add type-check annotations to sphinx.extTakeshi KOMIYA2016-11-161-4/+17
|/
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* Closes #1735: Use https://doc.python.org/ instead of ``http`` protocol. It ↵shimizukawa2015-02-231-1/+1
| | | | was used for `sphinx.ext.intersphinx` and some documentation.
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|
* remove `callable` helper because 'callable' has been resurrected from py32.Takayuki Shimizukawa2014-08-191-6/+0
|
* remove 'six' name except importing line.Takayuki Shimizukawa2014-04-301-2/+2
|
* provide __next__() and use native next() to support py2/py3 in one source. ↵Takayuki Shimizukawa2014-04-291-2/+2
| | | | refs #1350.
* introduce the six module and reduce sphinx.util.pycompat implementation. ↵Takayuki Shimizukawa2014-04-291-2/+3
| | | | refs #1350.
* Merges napoleon extension into mainline sphinxRob Ruana2014-01-181-0/+244