summaryrefslogtreecommitdiff
path: root/sphinx/deprecation.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '3.x'Takeshi KOMIYA2020-07-241-10/+22
|\
| * Preserve backwards compatibilityPeter Bell2020-07-161-41/+18
| |
| * Add type check to aliases dictPeter Bell2020-07-151-0/+4
| |
| * Require canonical name to be specified when calling deprecated_aliasPeter Bell2020-07-151-12/+40
| |
| * Improve warning message from deprecated_aliasPeter Bell2020-07-131-4/+7
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-2/+2
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-04-271-1/+1
|\ \ | |/
| * Merge pull request #7509 from tk0miya/refactor_Optional_typehintsTakeshi KOMIYA2020-04-201-1/+1
| |\ | | | | | | refactor: Add Optional to type annotations
| | * refactor: Add Optional to type annotationsTakeshi KOMIYA2020-04-191-1/+1
| | |
* | | Merge branch '3.x'Takeshi KOMIYA2020-04-191-3/+3
|\ \ \ | |/ /
| * | Fix sphinx crashes with ImportError on python3.5.1Takeshi KOMIYA2020-04-191-4/+7
| |/ | | | | | | | | typing.Type was added since python 3.5.2. So it should be imported only on type checking.
* | Deprecate codes for python 3.5Takeshi KOMIYA2020-03-071-2/+1
| |
* | Deprecate codes for docutils-0.13 or 0.14Takeshi KOMIYA2020-03-071-0/+4
|/
* Merge branch '2.0'Takeshi KOMIYA2020-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-251-23/+12
|\ \ | |/
| * Migrate to py3 style type annotation: sphinx.deprecationTakeshi KOMIYA2019-12-251-23/+12
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-08-191-4/+1
|\ \ | |/
| * Switch uses of __import__ to importlib.get_module()Jon Dufresne2019-08-171-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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'jfbu2019-08-011-1/+2
|\ \ | |/
| * Fix type annotation for python 3.5.1Takeshi KOMIYA2019-07-131-1/+2
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-06-021-2/+2
|\ \ | |/
| * Improve deprecation warning message (refs: #5878)jfbu2019-04-281-2/+2
| |
| * Fix RemovedInSphinx30Warning is marked as pendingTakeshi KOMIYA2019-04-051-1/+1
| |
| * Python-3-only clean ups discovered by pyupgradeJon Dufresne2019-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/asottile/pyupgrade > A tool to automatically upgrade syntax for newer versions of the > language. - Drop u str prefix - Drop base object inheritance - Drop args to super() - Use set literals - Use dict comprehension - Use set comprehension
* | Add RemovedInSphinx50WarningTakeshi KOMIYA2019-04-061-1/+5
| |
* | Drop features and APIs deprecated in 1.8Takeshi KOMIYA2019-03-301-5/+1
| |
* | Python-3-only clean ups discovered by pyupgradeJon Dufresne2019-03-171-1/+1
|/ | | | | | | | | | | | | | https://github.com/asottile/pyupgrade > A tool to automatically upgrade syntax for newer versions of the > language. - Drop u str prefix - Drop base object inheritance - Drop args to super() - Use set literals - Use dict comprehension - Use set comprehension
* Fix typoTakeshi KOMIYA2019-02-111-1/+1
|
* refactor: Add compat module to avoid recursive importTakeshi KOMIYA2019-01-031-0/+30
|
* 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-6/+6
| | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-5/+4
| |
* | Remove comments for py2Takeshi KOMIYA2018-12-151-1/+0
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Merge branch '1.8'Takeshi KOMIYA2018-11-011-5/+5
|\ \ | |/
| * Fix #5471: Show appropriate warning for deprecated APIsTakeshi KOMIYA2018-10-171-5/+5
| |
* | Drop APIs deprecated in 2.0Takeshi KOMIYA2018-09-031-5/+1
|/
* Promote RemovedInSphinx20Warning to next versionTakeshi KOMIYA2018-05-141-10/+2
|
* Rename add_stylesheet() to add_css_file()Takeshi KOMIYA2018-04-061-0/+4
|
* Fix mypy violationsTakeshi KOMIYA2018-03-031-2/+7
|
* refactor: Move versionlabels to sphinx.directives.otherTakeshi KOMIYA2018-03-031-0/+37
|
* Deprecate config value: source_parsersTakeshi KOMIYA2018-01-251-0/+4
|
* Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
* | Remove deprecated feature: drop RemovedInSphinx17WarningTakeshi KOMIYA2017-04-271-3/+3
|/
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |