Skip to content

Commit 371ff69

Browse files
author
Richard Jones
committed
update for (dps+restructuretext) -> docutils
1 parent 412883a commit 371ff69

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/build_html.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"""
44
:Author: David Goodger
55
6-
:Revision: $Revision: 1.1 $
7-
:Date: $Date: 2002-03-08 23:41:46 $
6+
:Revision: $Revision: 1.2 $
7+
:Date: $Date: 2002-05-06 23:38:07 $
88
:Copyright: This module has been placed in the public domain.
99
1010
A minimal front-end to the Docutils Publisher.
@@ -13,8 +13,8 @@
1313
"""
1414

1515
import sys, os.path
16-
from dps.core import publish
17-
from dps import utils
16+
from docutils.core import publish
17+
from docutils import utils
1818

1919
if len(sys.argv) < 2:
2020
print >>sys.stderr, 'I need at least one filename'
@@ -26,6 +26,6 @@
2626
name, ext = os.path.splitext(file)
2727
dest = '%s.html'%name
2828
print >>sys.stderr, '%s -> %s'%(file, dest)
29-
publish(writername='html', source=file, destination=dest,
29+
publish(writer_name='html', source=file, destination=dest,
3030
reporter=reporter)
3131

0 commit comments

Comments
 (0)