comparison env/bin/rst2html5.py @ 2:6af9afd405e9 draft

"planemo upload commit 0a63dd5f4d38a1f6944587f52a8cd79874177fc1"
author shellac
date Thu, 14 May 2020 14:56:58 -0400
parents 26e78fe6e8c4
children
comparison
equal deleted inserted replaced
1:75ca89e9b81c 2:6af9afd405e9
1 #!/Users/pldms/Development/Projects/2020/david-matthews-galaxy/guppy_basecaller/env/bin/python3
2 # -*- coding: utf8 -*-
3 # :Copyright: © 2015 Günter Milde.
4 # :License: Released under the terms of the `2-Clause BSD license`_, in short:
5 #
6 # Copying and distribution of this file, with or without modification,
7 # are permitted in any medium without royalty provided the copyright
8 # notice and this notice are preserved.
9 # This file is offered as-is, without any warranty.
10 #
11 # .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause
12 #
13 # Revision: $Revision: 8410 $
14 # Date: $Date: 2019-11-04 22:14:43 +0100 (Mo, 04. Nov 2019) $
15
16 """
17 A minimal front end to the Docutils Publisher, producing HTML 5 documents.
18
19 The output also conforms to XHTML 1.0 transitional
20 (except for the doctype declaration).
21 """
22
23 try:
24 import locale # module missing in Jython
25 locale.setlocale(locale.LC_ALL, '')
26 except locale.Error:
27 pass
28
29 from docutils.core import publish_cmdline, default_description
30
31 description = (u'Generates HTML 5 documents from standalone '
32 u'reStructuredText sources '
33 + default_description)
34
35 publish_cmdline(writer_name='html5', description=description)