summaryrefslogtreecommitdiff
path: root/sphinx/builders/qthelp.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/builders/qthelp.py')
-rw-r--r--sphinx/builders/qthelp.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/sphinx/builders/qthelp.py b/sphinx/builders/qthelp.py
deleted file mode 100644
index a4e73de9b..000000000
--- a/sphinx/builders/qthelp.py
+++ /dev/null
@@ -1,39 +0,0 @@
-"""
- sphinx.builders.qthelp
- ~~~~~~~~~~~~~~~~~~~~~~
-
- Build input files for the Qt collection generator.
-
- :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
-import warnings
-from typing import Any, Dict
-
-from sphinxcontrib.qthelp import QtHelpBuilder, render_file
-
-import sphinx
-from sphinx.application import Sphinx
-from sphinx.deprecation import RemovedInSphinx40Warning, deprecated_alias
-
-
-deprecated_alias('sphinx.builders.qthelp',
- {
- 'render_file': render_file,
- 'QtHelpBuilder': QtHelpBuilder,
- },
- RemovedInSphinx40Warning)
-
-
-def setup(app: Sphinx) -> Dict[str, Any]:
- warnings.warn('sphinx.builders.qthelp has been moved to sphinxcontrib-qthelp.',
- RemovedInSphinx40Warning)
-
- app.setup_extension('sphinxcontrib.qthelp')
-
- return {
- 'version': sphinx.__display_version__,
- 'parallel_read_safe': True,
- 'parallel_write_safe': True,
- }