diff options
-rw-r--r-- | sphinx/websupport/__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sphinx/websupport/__init__.py b/sphinx/websupport/__init__.py index 88de8cece..f06d98433 100644 --- a/sphinx/websupport/__init__.py +++ b/sphinx/websupport/__init__.py @@ -9,7 +9,14 @@ :license: BSD, see LICENSE for details. """ +import warnings + +from sphinx.deprecation import RemovedInSphinx20Warning from sphinxcontrib.websupport import WebSupport # NOQA from sphinxcontrib.websupport import errors # NOQA from sphinxcontrib.websupport.search import BaseSearch, SEARCH_ADAPTERS # NOQA from sphinxcontrib.websupport.storage import StorageBackend # NOQA + +warnings.warn('sphinx.websupport module is now provided as sphinxcontrib.webuspport. ' + 'sphinx.websupport will be removed in Sphinx-2.0. Please use it instaed', + RemovedInSphinx20Warning) |