From b37f3565821d526c7e7e20a6f233198b0f1ef411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Krzy=C5=9Bk=C3=B3w?= Date: Mon, 4 Dec 2023 15:28:42 +0100 Subject: [PATCH] Fixed archive creation to include hidden paths --- hooks/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/archive.py b/hooks/archive.py index 77223ec..83b72e9 100644 --- a/hooks/archive.py +++ b/hooks/archive.py @@ -71,7 +71,7 @@ def on_post_build(config: MkDocsConfig): path = os.path.join(path, "**") # Find all files recursively and add them to the archive - for file in iglob(path, recursive = True): + for file in iglob(path, recursive = True, include_hidden = True): log.debug(f"+ '{file}'") f.write(file, os.path.join( example, os.path.relpath(file, base)