summaryrefslogtreecommitdiff
path: root/sphinx/util/compat.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove more deprecated items in Sphinx 6.0 (#10562)Adam Turner2022-06-261-33/+0
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* deprecate sphinx.ext.autosummary._appTakeshi KOMIYA2021-05-311-2/+5
|
* Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\
| * 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
* | Do isortTakeshi KOMIYA2020-11-121-2/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-07-241-1/+1
|\ \ | |/
| * fix typoTetsuo Koyama2020-07-191-1/+1
| |
| * Add stacklevel parameter to warnings.warn() callTakeshi KOMIYA2020-05-031-1/+1
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-22/+0
| |
* | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-2/+2
|/
* Merge branch '2.0'Takeshi KOMIYA2020-01-011-2/+2
|\
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
| * mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA2019-12-301-1/+1
| |
* | Fix flake8 violationsTakeshi KOMIYA2019-06-101-1/+0
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-06-091-9/+6
|\ \ | |/
| * Migrate to py3 style type annotation: sphinx.util.compatTakeshi KOMIYA2019-06-031-11/+7
| |
| * Update deprecation message for source_suffix (refs: #6283)Takeshi KOMIYA2019-04-161-1/+1
| |
* | Drop features and APIs deprecated in 1.8Takeshi KOMIYA2019-03-301-15/+1
|/
* Fix #6172: AttributeError is raised for old styled index nodesTakeshi KOMIYA2019-03-171-2/+2
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Merge pull request #5509 from stephenfin/remove-future-importsTakeshi KOMIYA2018-12-171-2/+0
|\ \ | | | | | | Remove future imports
| * | py3: Remove (most) __future__ importsStephen Finucane2018-12-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two used: - print_function - absolute_import Both of these are mandatory in Python 3.0 onwards [1] and can therefore be removed...mostly. Unfortunately, mypy is still running in Python 2.7 mode, meaning we need the 'print_function' future wherever we're calling 'print' with the 'file' argument. There's also a single 'absolute_import' future that must be retained as its removal breaks a test for as-yet unknown reasons. TODOs are added to resolve both issues in the future. [1] https://docs.python.org/3/library/__future__.html Signed-off-by: Stephen Finucane <stephen@that.guru>
* | | 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.
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-2/+1
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Merge pull request #5661 from tk0miya/fix_typehints_for_transformsTakeshi KOMIYA2018-11-231-1/+2
|\ \ | | | | | | Adjust type annotations for transforms to docutils'
| * | Adjust type annotations for transforms to docutils'Takeshi KOMIYA2018-11-231-1/+2
| | |
* | | Replace six.string_types with native strJon Dufresne2018-11-211-3/+2
|/ /
* | Remove use of six.iteritems()Jon Dufresne2018-09-111-2/+2
| | | | | | | | In Python 3, dict.items() is always an iterator.
* | refactor: Add IndexEntriesMigrator to simplifyTakeshi KOMIYA2018-09-041-1/+19
|/
* Merge branch '1.7'Takeshi KOMIYA2018-03-181-2/+2
|\
| * Revert "Use typing.TYPE_CHECKING"Takeshi KOMIYA2018-03-131-2/+2
| | | | | | | | This reverts commit f51b644f39ff53f14332eb8cd5019bbe8dc0e0e1.
* | Merge branch '1.7'Takeshi KOMIYA2018-02-191-2/+20
|\ \ | |/
| * Fix ImportErrorTakeshi KOMIYA2018-02-181-0/+1
| |
| * Use typing.TYPE_CHECKINGTakeshi KOMIYA2018-02-181-2/+2
| |
| * autosummary: Fix compatibility of get_documenter() API (refs: #4366)Takeshi KOMIYA2018-02-171-0/+43
| |
* | Deprecate config value: source_parsersTakeshi KOMIYA2018-01-251-0/+46
|/
* Remove sphinx.util.compat again (rebirthed on merging)Takeshi KOMIYA2017-07-021-48/+0
|
* Update warning message (ref: #3873)Takeshi KOMIYA2017-06-251-3/+2
|
* Fix #3873: Failure of deprecation warning mechanism of ↵Takeshi KOMIYA2017-06-241-1/+1
| | | | ``sphinx.util.compat.Directive``
* Fixed #3821: Failed to import sphinx.util.compat with docutils-0.14rc1Takeshi KOMIYA2017-05-291-1/+2
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |