From dc9e1963bac60b45a6b8fb2d662520f37fa3e921 Mon Sep 17 00:00:00 2001 From: Marek Küthe Date: Sun, 13 Oct 2024 21:27:33 +0000 Subject: 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 --- docs/_ext/vyos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3