Mercurial > p > roundup > code
view doc/build_html.py @ 699:676d4cfde9a5
Nosy list improvements.
. added option to automatically add the authors and recipients of messages
to the nosy lists with the options ADD_AUTHOR_TO_NOSY (default 'new') and
ADD_RECIPIENTS_TO_NOSY (default 'new'). These settings emulate the current
behaviour. Setting them to 'yes' will add the author/recipients to the nosy
on messages that create issues and followup messages.
. added missing documentation for a few of the config option values
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 02 May 2002 07:56:34 +0000 |
| parents | 1dcbee29faa7 |
| children | f5e387cfb825 |
line wrap: on
line source
#!/usr/bin/env python """ :Author: David Goodger :Contact: goodger@users.sourceforge.net :Revision: $Revision: 1.1 $ :Date: $Date: 2002-03-08 23:41:46 $ :Copyright: This module has been placed in the public domain. A minimal front-end to the Docutils Publisher. This module takes advantage of the default values defined in `publish()`. """ import sys, os.path from dps.core import publish from dps import utils if len(sys.argv) < 2: print >>sys.stderr, 'I need at least one filename' sys.exit(1) reporter = utils.Reporter(2, 4) for file in sys.argv[1:]: name, ext = os.path.splitext(file) dest = '%s.html'%name print >>sys.stderr, '%s -> %s'%(file, dest) publish(writername='html', source=file, destination=dest, reporter=reporter)
