Marek Küthe 2024-10-13 21:27:33 +00:00
parent d97233be30
commit dc9e1963ba
No known key found for this signature in database
GPG Key ID: 7E869146699108C7

View File

@ -221,7 +221,7 @@ class CfgInclude(SphinxDirective):
path = os.path.join(self.standard_include_path, path[1:-1])
path = os.path.normpath(os.path.join(source_dir, path))
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