]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/mpl/doc/src/docutils/tools/rst2htmlrefdoc.py
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / mpl / doc / src / docutils / tools / rst2htmlrefdoc.py
1 #!/usr/bin/env python
2
3 # Copyright Aleksey Gurtovoy 2004-2009
4 #
5 # Distributed under the Boost Software License, Version 1.0.
6 # (See accompanying file LICENSE_1_0.txt or copy at
7 # http://www.boost.org/LICENSE_1_0.txt)
8
9
10 import locale
11 try:
12 locale.setlocale(locale.LC_ALL, '')
13 except:
14 pass
15
16 from docutils.parsers.rst import directives
17 from docutils.parsers.rst.directives import htmlrefdoc
18 directives.register_directive( 'copyright', htmlrefdoc.LicenseAndCopyright )
19
20 from docutils.core import publish_cmdline, default_description
21
22 description = ('Generates "framed" (X)HTML documents from standalone reStructuredText '
23 'sources. ' + default_description)
24
25 publish_cmdline(writer_name='html4_refdoc', description=description)