summaryrefslogtreecommitdiff
path: root/sphinx/builders/applehelp.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/builders/applehelp.py')
-rw-r--r--sphinx/builders/applehelp.py42
1 files changed, 0 insertions, 42 deletions
diff --git a/sphinx/builders/applehelp.py b/sphinx/builders/applehelp.py
deleted file mode 100644
index 759ba66da..000000000
--- a/sphinx/builders/applehelp.py
+++ /dev/null
@@ -1,42 +0,0 @@
-"""
- sphinx.builders.applehelp
- ~~~~~~~~~~~~~~~~~~~~~~~~~
-
- Build Apple help books.
-
- :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.applehelp import (
- AppleHelpCodeSigningFailed,
- AppleHelpIndexerFailed,
- AppleHelpBuilder,
-)
-
-from sphinx.application import Sphinx
-from sphinx.deprecation import RemovedInSphinx40Warning, deprecated_alias
-
-
-deprecated_alias('sphinx.builders.applehelp',
- {
- 'AppleHelpCodeSigningFailed': AppleHelpCodeSigningFailed,
- 'AppleHelpIndexerFailed': AppleHelpIndexerFailed,
- 'AppleHelpBuilder': AppleHelpBuilder,
- },
- RemovedInSphinx40Warning)
-
-
-def setup(app: Sphinx) -> Dict[str, Any]:
- warnings.warn('sphinx.builders.applehelp has been moved to sphinxcontrib-applehelp.',
- RemovedInSphinx40Warning, stacklevel=2)
- app.setup_extension('sphinxcontrib.applehelp')
-
- return {
- 'version': 'builtin',
- 'parallel_read_safe': True,
- 'parallel_write_safe': True,
- }