summaryrefslogtreecommitdiff
path: root/docutils/tools/html.py
diff options
context:
space:
mode:
Diffstat (limited to 'docutils/tools/html.py')
-rwxr-xr-xdocutils/tools/html.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/docutils/tools/html.py b/docutils/tools/html.py
deleted file mode 100755
index 66f029364..000000000
--- a/docutils/tools/html.py
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env python
-
-"""
-:Author: David Goodger
-:Contact: goodger@users.sourceforge.net
-:Revision: $Revision$
-:Date: $Date$
-: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
-from docutils.core import publish
-from docutils import utils
-
-reporter = utils.Reporter(2, 4)
-#reporter.setconditions('nodes.Node.walkabout', 2, 4, debug=1)
-
-if len(sys.argv) == 2:
- publish(writername='html', source=sys.argv[1], reporter=reporter)
-elif len(sys.argv) == 3:
- publish(writername='html', source=sys.argv[1], destination=sys.argv[2],
- reporter=reporter)
-elif len(sys.argv) > 3:
- print >>sys.stderr, 'Maximum 2 arguments allowed.'
- sys.exit(1)
-else:
- publish()