arch-linux-kernel/docutils.patch

14 lines
645 B
Diff

diff --git i/Documentation/sphinx/kernel_include.py w/Documentation/sphinx/kernel_include.py
index abe768088377..4ba03e5380c6 100755
--- i/Documentation/sphinx/kernel_include.py
+++ w/Documentation/sphinx/kernel_include.py
@@ -97,7 +97,7 @@ class KernelInclude(Include):
# HINT: this is the only line I had to change / commented out:
#path = utils.relative_path(None, path)
- path = nodes.reprunicode(path)
+ path = str(path)
encoding = self.options.get(
'encoding', self.state.document.settings.input_encoding)
e_handler=self.state.document.settings.input_encoding_error_handler