summaryrefslogtreecommitdiff
path: root/sphinx/builders/htmlhelp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-04-10 00:32:26 +0900
committerGitHub <noreply@github.com>2021-04-10 00:32:26 +0900
commitfe6d95e4294f47d61f1a04a1f8c6567c9802f504 (patch)
tree33a7143bf1dcf60830c2e1fcd4b396175af45e64 /sphinx/builders/htmlhelp.py
parent7327e56dff865d4766c43d46405ae827e10fd6c3 (diff)
parentce5d66e618c111b115a9bb7b1401a26483fcfa8f (diff)
downloadsphinx-git-fe6d95e4294f47d61f1a04a1f8c6567c9802f504.tar.gz
Merge branch 'master' into patch-1
Diffstat (limited to 'sphinx/builders/htmlhelp.py')
-rw-r--r--sphinx/builders/htmlhelp.py47
1 files changed, 0 insertions, 47 deletions
diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py
deleted file mode 100644
index 08719712c..000000000
--- a/sphinx/builders/htmlhelp.py
+++ /dev/null
@@ -1,47 +0,0 @@
-"""
- sphinx.builders.htmlhelp
- ~~~~~~~~~~~~~~~~~~~~~~~~
-
- Build HTML help support files.
- Parts adapted from Python's Doc/tools/prechm.py.
-
- :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
-import warnings
-from typing import Any, Dict
-
-from sphinxcontrib.htmlhelp import (HTMLHelpBuilder, chm_htmlescape, chm_locales,
- default_htmlhelp_basename)
-
-from sphinx.application import Sphinx
-from sphinx.deprecation import RemovedInSphinx40Warning, deprecated_alias
-
-deprecated_alias('sphinx.builders.htmlhelp',
- {
- 'chm_locales': chm_locales,
- 'chm_htmlescape': chm_htmlescape,
- 'HTMLHelpBuilder': HTMLHelpBuilder,
- 'default_htmlhelp_basename': default_htmlhelp_basename,
- },
- RemovedInSphinx40Warning,
- {
- 'chm_locales': 'sphinxcontrib.htmlhelp.chm_locales',
- 'chm_htmlescape': 'sphinxcontrib.htmlhelp.chm_htmlescape',
- 'HTMLHelpBuilder': 'sphinxcontrib.htmlhelp.HTMLHelpBuilder',
- 'default_htmlhelp_basename':
- 'sphinxcontrib.htmlhelp.default_htmlhelp_basename',
- })
-
-
-def setup(app: Sphinx) -> Dict[str, Any]:
- warnings.warn('sphinx.builders.htmlhelp has been moved to sphinxcontrib-htmlhelp.',
- RemovedInSphinx40Warning, stacklevel=2)
- app.setup_extension('sphinxcontrib.htmlhelp')
-
- return {
- 'version': 'builtin',
- 'parallel_read_safe': True,
- 'parallel_write_safe': True,
- }