summaryrefslogtreecommitdiff
path: root/sphinx/builders/html.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-04-07 19:29:52 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-04-07 19:29:52 +0900
commitdf05d9254d8098534de4db25e9f6de02c78fff2c (patch)
treee170986fe398afc42261695c05ecf85a3ed533a3 /sphinx/builders/html.py
parentd501bc136ce5069e97a5f347dbc694717dddced8 (diff)
parent70ed093b8b45d19beec391def65125a69cb04518 (diff)
downloadsphinx-git-df05d9254d8098534de4db25e9f6de02c78fff2c.tar.gz
Merge branch '2.0'
Diffstat (limited to 'sphinx/builders/html.py')
-rw-r--r--sphinx/builders/html.py22
1 files changed, 4 insertions, 18 deletions
diff --git a/sphinx/builders/html.py b/sphinx/builders/html.py
index 5621f9a75..97774c668 100644
--- a/sphinx/builders/html.py
+++ b/sphinx/builders/html.py
@@ -24,7 +24,7 @@ from docutils.utils import relative_path
from sphinx import package_dir, __display_version__
from sphinx.builders import Builder
-from sphinx.deprecation import RemovedInSphinx40Warning, deprecated_alias
+from sphinx.deprecation import RemovedInSphinx40Warning
from sphinx.environment.adapters.asset import ImageAdapter
from sphinx.environment.adapters.indexentries import IndexEntries
from sphinx.environment.adapters.toctree import TocTree
@@ -1187,23 +1187,9 @@ def validate_math_renderer(app):
# for compatibility
-from sphinx.builders.dirhtml import DirectoryHTMLBuilder # NOQA
-from sphinx.builders.singlehtml import SingleFileHTMLBuilder # NOQA
-from sphinxcontrib.serializinghtml import ( # NOQA
- LAST_BUILD_FILENAME, JSONHTMLBuilder, PickleHTMLBuilder, SerializingHTMLBuilder
-)
-
-deprecated_alias('sphinx.builders.html',
- {
- 'LAST_BUILD_FILENAME': LAST_BUILD_FILENAME,
- 'DirectoryHTMLBuilder': DirectoryHTMLBuilder,
- 'JSONHTMLBuilder': JSONHTMLBuilder,
- 'PickleHTMLBuilder': PickleHTMLBuilder,
- 'SerializingHTMLBuilder': SerializingHTMLBuilder,
- 'SingleFileHTMLBuilder': SingleFileHTMLBuilder,
- 'WebHTMLBuilder': PickleHTMLBuilder,
- },
- RemovedInSphinx40Warning)
+import sphinx.builders.dirhtml # NOQA
+import sphinx.builders.singlehtml # NOQA
+import sphinxcontrib.serializinghtml # NOQA
def setup(app):