diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2015-08-12 14:26:55 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2015-08-12 14:26:55 +0000 |
| commit | e53bcf46fbfac666ef51d47612161774c8e197a4 (patch) | |
| tree | 5d9a160417b583a6b39db84b4bc5e1b43569ee58 /tools | |
| parent | cdf9e29fa666b8d4507010b3ed5751d8734fba79 (diff) | |
| download | docutils-e53bcf46fbfac666ef51d47612161774c8e197a4.tar.gz | |
Rename html_base writer to html_plain, move xhtml11 writer back to sandbox.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7901 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/rst2xhtml11.py | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/tools/rst2xhtml11.py b/tools/rst2xhtml11.py deleted file mode 100755 index ab700a27c..000000000 --- a/tools/rst2xhtml11.py +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf8 -*- -# :Copyright: © 2015 Günter Milde. -# :License: Released under the terms of the `2-Clause BSD license`_, in short: -# -# Copying and distribution of this file, with or without modification, -# are permitted in any medium without royalty provided the copyright -# notice and this notice are preserved. -# This file is offered as-is, without any warranty. -# -# .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause -# -# Revision: $Revision$ -# Date: $Date$ - -""" -A minimal front end to the Docutils Publisher, producing valid XHTML 1.1 -""" - -try: - import locale # module missing in Jython - locale.setlocale(locale.LC_ALL, '') -except locale.Error: - pass - -from docutils.core import publish_cmdline, default_description - -description = (u'Generates HTML documents from standalone ' - u'reStructuredText sources that conform to the XHTML 1.1 DTD ' - u'(strict XHTML). ' - u'Requires layout rules provided by CSS 2.1 stylesheets ' - u'``html-base.css`` and ``xhtml11.css`` (or equivalent).' - + default_description) - -publish_cmdline(writer_name='xhtml11', description=description) |
