summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarek Küthe <m.k@mk16.de>2024-10-13 21:27:33 +0000
committerMarek Küthe <m.k@mk16.de>2024-10-13 21:27:33 +0000
commitdc9e1963bac60b45a6b8fb2d662520f37fa3e921 (patch)
treea763514e0375bb2fd54af278a161cc18915ee327 /docs
parentd97233be30d5da36a03c278e1f6f9e1ca302ef7b (diff)
downloadvyos-documentation-dc9e1963bac60b45a6b8fb2d662520f37fa3e921.tar.gz
vyos-documentation-dc9e1963bac60b45a6b8fb2d662520f37fa3e921.zip
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
Diffstat (limited to 'docs')
-rw-r--r--docs/_ext/vyos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_ext/vyos.py b/docs/_ext/vyos.py
index c1a96cd9..2f4dede9 100644
--- a/docs/_ext/vyos.py
+++ b/docs/_ext/vyos.py
@@ -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