mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Fix T6777
Closes https://vyos.dev/T6777 Related to https://github.com/sphinx-doc/sphinx/issues/13019 and https://github.com/orgs/sphinx-doc/discussions/13020
This commit is contained in:
parent
d97233be30
commit
dc9e1963ba
@ -221,7 +221,7 @@ class CfgInclude(SphinxDirective):
|
|||||||
path = os.path.join(self.standard_include_path, path[1:-1])
|
path = os.path.join(self.standard_include_path, path[1:-1])
|
||||||
path = os.path.normpath(os.path.join(source_dir, path))
|
path = os.path.normpath(os.path.join(source_dir, path))
|
||||||
path = utils.relative_path(None, path)
|
path = utils.relative_path(None, path)
|
||||||
path = nodes.reprunicode(path)
|
path = str(path)
|
||||||
encoding = self.options.get(
|
encoding = self.options.get(
|
||||||
'encoding', self.state.document.settings.input_encoding)
|
'encoding', self.state.document.settings.input_encoding)
|
||||||
e_handler=self.state.document.settings.input_encoding_error_handler
|
e_handler=self.state.document.settings.input_encoding_error_handler
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user