From: richard Date: Mon, 6 May 2002 23:38:07 +0000 (+0000) Subject: update for (dps+restructuretext) -> docutils X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e0522a73565e0cf14ee24adaa2ccf260eac66873;p=roundup.git update for (dps+restructuretext) -> docutils git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@720 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/doc/build_html.py b/doc/build_html.py index f73ab1a..eb4a3f9 100755 --- a/doc/build_html.py +++ b/doc/build_html.py @@ -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 @@ This module takes advantage of the default values defined in `publish()`. """ 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 @@ 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, + publish(writer_name='html', source=file, destination=dest, reporter=reporter)