Mercurial > p > roundup > code
view doc/build_html.py @ 753:938edfdeac6e
Sorry about this huge checkin!
It's fixing a lot of related stuff in one go though.
. [SF#541941] changing multilink properties by mail
. [SF#526730] search for messages capability
. [SF#505180] split MailGW.handle_Message
- also changed cgi client since it was duplicating the functionality
. build htmlbase if tests are run using CVS checkout (removed note from
installation.txt)
. don't create an empty message on email issue creation if the email is empty
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 29 May 2002 01:16:17 +0000 |
| parents | f5e387cfb825 |
| children |
line wrap: on
line source
#!/usr/bin/env python """ :Author: David Goodger :Contact: goodger@users.sourceforge.net :Revision: $Revision: 1.2 $ :Date: $Date: 2002-05-06 23:38:07 $ :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 docutils.core import publish from docutils 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(writer_name='html', source=file, destination=dest, reporter=reporter)
