Skip to content

Commit

Permalink
Fixed archive creation to include hidden paths
Browse files Browse the repository at this point in the history
kamilkrzyskow committed Dec 4, 2023
1 parent 5d6a8f6 commit b37f356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/archive.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit b37f356

Please sign in to comment.