Bugfix on integrations/gen_docs_integrations.py (#16059)
Update gen_docs_integrations.py
Fotis Voutsas committed
Sep 27, 2023 at 14:15 UTC
d1c048bc5fbd7919e64363673515bfde0ed0dec5
1 file changed
+1
-1
integrations/gen_docs_integrations.py
+1
-1
@@ -304,7 +304,7 @@ def make_symlinks(symlink_dict):
304
"""
305
for element in symlink_dict:
306
# Remove the README to prevent it being a normal file
307
- Path.unlink(f'{element}/README.md')
307
+ Path(f'{element}/README.md').unlink()
308
# and then make a symlink to the actual markdown
309
Path(f'{element}/README.md').symlink_to(symlink_dict[element])
310