# HG changeset patch # User Martin Geisler # Date 2011-10-20 15:47:33 # Node ID 1ae824142c0157f350e1e01cf3e23fbf01a1f722 # Parent 3eb1a90ea40941ad7a920daad665e27ffdb6f291 runrst: improve error message when Docutils is missing Peter Toft told me he had installed a 'python-doc' package instead of the correct 'python-docutils' and he suggested that we add the URL to Docutils in our error message. diff --git a/doc/runrst b/doc/runrst --- a/doc/runrst +++ b/doc/runrst @@ -20,6 +20,8 @@ try: except ImportError: sys.stderr.write("abort: couldn't generate documentation: docutils " "module is missing\n") + sys.stderr.write("please install python-docutils or see " + "http://docutils.sourceforge.net/\n") sys.exit(-1) def role_hg(name, rawtext, text, lineno, inliner,