Commits

Georg Brandl  committed 0b35315

Add a DeprecationWarning for sphinx.builder.

  • Participants
  • Parent commits e43ef31

Comments (0)

Files changed (1)

File sphinx/builder.py

     :license: BSD.
 """
 
+import warnings
+
 from sphinx.builders import Builder
 from sphinx.builders.text import TextBuilder
 from sphinx.builders.html import StandaloneHTMLBuilder, WebHTMLBuilder, \
 from sphinx.builders.changes import ChangesBuilder
 from sphinx.builders.htmlhelp import HTMLHelpBuilder
 from sphinx.builders.linkcheck import CheckExternalLinksBuilder
+
+warnings.warn('The sphinx.builder module is deprecated; please import '
+              'builders from the respective sphinx.builders submodules.',
+              DeprecationWarning)