From d1c048bc5fbd7919e64363673515bfde0ed0dec5 Mon Sep 17 00:00:00 2001
From: Fotis Voutsas <fotis@netdata.cloud>
Date: Wed, 27 Sep 2023 14:15:29 +0300
Subject: [PATCH] Bugfix on integrations/gen_docs_integrations.py (#16059)

Update gen_docs_integrations.py
---
 integrations/gen_docs_integrations.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/integrations/gen_docs_integrations.py b/integrations/gen_docs_integrations.py
index 970fb663db..91d24be761 100644
--- a/integrations/gen_docs_integrations.py
+++ b/integrations/gen_docs_integrations.py
@@ -304,7 +304,7 @@ def make_symlinks(symlink_dict):
     """
     for element in symlink_dict:
         # Remove the README to prevent it being a normal file
-        Path.unlink(f'{element}/README.md')
+        Path(f'{element}/README.md').unlink()
         # and then make a symlink to the actual markdown
         Path(f'{element}/README.md').symlink_to(symlink_dict[element])