summaryrefslogtreecommitdiff
path: root/sphinx/deprecation.py
Commit message (Collapse)AuthorAgeFilesLines
* Update ``sphinx.deprecation`` for Sphinx 7.0 (#11386)Adam Turner2023-04-281-10/+10
|
* Revert "Support and prefer ``.jinja`` to ``_t`` for static templates ↵James Addison2023-04-231-28/+0
| | | | | (#11165)" (#11329) This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47.
* Support and prefer ``.jinja`` to ``_t`` for static templates (#11165)James Addison2023-04-071-0/+28
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Fix COM812Adam Turner2023-02-181-1/+1
|
* Replace deprecation tooling with module level ``__getattr__`` (#11054)Adam Turner2023-01-081-65/+46
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-6/+6
|
* Use PEP 595 typesAdam Turner2023-01-011-8/+8
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Merge branch '5.x'Adam Turner2022-09-301-4/+4
|\ | | | | | | | | # Conflicts: # sphinx/locale/__init__.py
| * shrink 'any-generics' whitelist for the 'deprecation' module (#10849)danieleades2022-09-291-4/+4
| |
* | Remove deprecated items for Sphinx 6.0 (#10471)Adam Turner2022-06-161-3/+3
|/
* Review commentsAdam Turner2022-04-171-1/+1
|
* Remove deprecated code for Sphinx 5.0Adam Turner2022-04-171-5/+1
|
* Merge branch '4.x'Takeshi KOMIYA2022-03-191-9/+1
|\
| * 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
| |
* | Merge branch '4.x'Takeshi KOMIYA2022-01-011-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2022-01-011-1/+1
| |
* | Deprecate sphinx.writers.latex.LaTeXWriter.docclassesTakeshi KOMIYA2021-12-181-0/+4
|/
* refactor: Remove RemovedInSphinx40WarningTakeshi KOMIYA2021-05-231-4/+0
|
* refactor: use raw Type for type annotationsTakeshi KOMIYA2021-04-041-3/+3
|
* Update type annotationsTakeshi KOMIYA2021-02-091-1/+1
|
* 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
| * Deprecate Documenter.get_object_members()Takeshi KOMIYA2020-11-211-0/+4
| | | | | | | | | | | | | | | | | | At present, the implementation of Documenter.get_object_members() is only for class objects. In fact, no subclasses use it (all of them are overriding the method). This deprecates Documenter.get_object_members() and copies it to ClassDocumenter.get_object_members().
* | 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
|\ \ | |/