html.py 695 B

123456789101112131415161718192021
  1. # $Id: html.py 9062 2022-05-30 21:09:09Z milde $
  2. # Author: David Goodger <goodger@python.org>
  3. # Copyright: This module has been placed in the public domain.
  4. """
  5. Dummy module for backwards compatibility.
  6. This module is provisional: it will be removed in Docutils 2.0.
  7. """
  8. __docformat__ = 'reStructuredText'
  9. import warnings
  10. from docutils.parsers.rst.directives.misc import MetaBody, Meta # noqa: F401
  11. warnings.warn('The `docutils.parsers.rst.directive.html` module'
  12. ' will be removed in Docutils 2.0.'
  13. ' Since Docutils 0.18, the "Meta" node is defined in'
  14. ' `docutils.parsers.rst.directives.misc`.',
  15. DeprecationWarning, stacklevel=2)