doc-rst: add docutils config file
authorMarkus Heiser <markus.heiser@darmarIT.de>
Sat, 13 Aug 2016 14:12:46 +0000 (16:12 +0200)
committerJonathan Corbet <corbet@lwn.net>
Sun, 14 Aug 2016 17:52:40 +0000 (11:52 -0600)
To stop the sphinx-build on severe errors and exit with an exit code (to
stop make) the halt_level must be set. The halt_level can't be set from
sphinx, it is a docutils configuration [1]. For this a docutils.conf was
added.

[1] http://docutils.sourceforge.net/docs/user/config.html

Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/docutils.conf [new file with mode: 0644]

diff --git a/Documentation/docutils.conf b/Documentation/docutils.conf
new file mode 100644 (file)
index 0000000..2830772
--- /dev/null
@@ -0,0 +1,7 @@
+# -*- coding: utf-8 mode: conf-colon -*-
+#
+# docutils configuration file
+# http://docutils.sourceforge.net/docs/user/config.html
+
+[general]
+halt_level: severe
\ No newline at end of file