From e0522a73565e0cf14ee24adaa2ccf260eac66873 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 6 May 2002 23:38:07 +0000 Subject: [PATCH] update for (dps+restructuretext) -> docutils git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@720 57a73879-2fb5-44c3-a270-3262357dd7e2 --- doc/build_html.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) -- 2.30.2