From 9f6cfcf0be4392f596237dcf0a5a2b906e572549 Mon Sep 17 00:00:00 2001
From: David Warnquist <davwa458@student.liu.se>
Date: Tue, 18 Jun 2024 01:24:36 +0200
Subject: [PATCH] added windows path

---
 generate_pydocs.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/generate_pydocs.py b/generate_pydocs.py
index 881018916..1c2b01194 100644
--- a/generate_pydocs.py
+++ b/generate_pydocs.py
@@ -13,6 +13,7 @@ import inspect
 import re
 
 sys.path.append('build/python-api-src')
+sys.path.append('build/python-api-src/Release')
 import library
 
 def update_pyi_with_docstrings(pyi_path):
@@ -75,5 +76,6 @@ def update_pyi_with_docstrings(pyi_path):
 
 
 # Path to the generated .pyi file
-pyi_file_path = 'build/python-api-src/library.pyi'
+#pyi_file_path = 'build/python-api-src/library.pyi'
+pyi_file_path = 'build/python-api-src/Release/library.pyi'
 update_pyi_with_docstrings(pyi_file_path)
-- 
GitLab