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.
--- a/doc/runrst Tue Oct 18 17:28:26 2011 -0500
+++ b/doc/runrst Thu Oct 20 17:47:33 2011 +0200
@@ -20,6 +20,8 @@
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,