Deprecate SphinxFileInput.supported

This commit is contained in:
Takeshi KOMIYA 2018-12-17 22:06:53 +09:00
parent 636ca67528
commit f3350b8b7d
3 changed files with 7 additions and 1 deletions

View File

@ -64,6 +64,7 @@ Deprecated
* ``sphinx.ext.autosummary.Autosummary.result``
* ``sphinx.ext.doctest.doctest_encode()``
* ``sphinx.io.SphinxBaseFileInput``
* ``sphinx.io.SphinxFileInput.supported``
* ``sphinx.io.SphinxRSTFileInput``
* ``sphinx.registry.SphinxComponentRegistry.add_source_input()``
* ``sphinx.testing.util.remove_unicode_literal()``

View File

@ -273,6 +273,11 @@ The following is a list of deprecated interfaces.
- 3.0
- N/A
* - ``sphinx.io.SphinxFileInput.supported``
- 2.0
- 3.0
- N/A
* - ``sphinx.io.SphinxRSTFileInput``
- 2.0
- 3.0

View File

@ -198,7 +198,7 @@ class SphinxBaseFileInput(FileInput):
class SphinxFileInput(FileInput):
"""A basic FileInput for Sphinx."""
supported = ('*',) # special source input
supported = ('*',) # RemovedInSphinx30Warning
def __init__(self, *args, **kwargs):
# type: (Any, Any) -> None