Mercurial > p > roundup > code
changeset 707:f5e387cfb825
update for (dps+restructuretext) -> docutils
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 06 May 2002 23:38:07 +0000 |
| parents | 7ba403bffed5 |
| children | c0c896fc8284 |
| files | doc/build_html.py |
| diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/build_html.py Mon May 06 23:37:21 2002 +0000 +++ b/doc/build_html.py Mon May 06 23:38:07 2002 +0000 @@ -3,8 +3,8 @@ """ :Author: David Goodger :Contact: goodger@users.sourceforge.net -:Revision: $Revision: 1.1 $ -:Date: $Date: 2002-03-08 23:41:46 $ +: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. @@ -13,8 +13,8 @@ """ import sys, os.path -from dps.core import publish -from dps import utils +from docutils.core import publish +from docutils import utils if len(sys.argv) < 2: print >>sys.stderr, 'I need at least one filename' @@ -26,6 +26,6 @@ name, ext = os.path.splitext(file) dest = '%s.html'%name print >>sys.stderr, '%s -> %s'%(file, dest) - publish(writername='html', source=file, destination=dest, + publish(writer_name='html', source=file, destination=dest, reporter=reporter)
