]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/mpl/doc/src/docutils/tools/rst2htmlrefdoc.py
3 # Copyright Aleksey Gurtovoy 2004-2009
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)
12 locale
.setlocale(locale
.LC_ALL
, '')
16 from docutils
.parsers
.rst
import directives
17 from docutils
.parsers
.rst
.directives
import htmlrefdoc
18 directives
.register_directive( 'copyright', htmlrefdoc
.LicenseAndCopyright
)
20 from docutils
.core
import publish_cmdline
, default_description
22 description
= ('Generates "framed" (X)HTML documents from standalone reStructuredText '
23 'sources. ' + default_description
)
25 publish_cmdline(writer_name
='html4_refdoc', description
=description
)