Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit bee02ce

Browse files
authored
Merge pull request #15 from kamilkrzyskow/master
Fixed archive creation to include hidden paths
2 parents fe93eb8 + b37f356 commit bee02ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/archive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def on_post_build(config: MkDocsConfig):
7171
path = os.path.join(path, "**")
7272

7373
# Find all files recursively and add them to the archive
74-
for file in iglob(path, recursive = True):
74+
for file in iglob(path, recursive = True, include_hidden = True):
7575
log.debug(f"+ '{file}'")
7676
f.write(file, os.path.join(
7777
example, os.path.relpath(file, base)

0 commit comments

Comments
 (0)