From 5e39d51fa9bbfb0f07eda046aac650d101a69658 Mon Sep 17 00:00:00 2001 From: Arnaud de Grandmaison Date: Fri, 12 Jul 2024 16:08:40 +0200 Subject: [PATCH] docs: Fix where genconfigstore.py is looking for its files. Signed-off-by: Arnaud de Grandmaison --- documentation/_scripts/genconfigstore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/_scripts/genconfigstore.py b/documentation/_scripts/genconfigstore.py index c9f9192..8940a9b 100755 --- a/documentation/_scripts/genconfigstore.py +++ b/documentation/_scripts/genconfigstore.py @@ -110,7 +110,7 @@ cfgs_raw = subprocess.run('shrinkwrap inspect --json', cfgs = json.loads(cfgs_raw) -docsdir = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) +docsdir = os.path.dirname(os.path.dirname(os.path.normpath(__file__))) docsdir = os.path.join(docsdir, 'userguide', 'configstore') with open(os.path.join(docsdir, 'index.rst'), 'w') as indexf: -- GitLab