Skip to content

Commit

Permalink
Merge pull request #15 from kamilkrzyskow/master
Browse files Browse the repository at this point in the history
Fixed archive creation to include hidden paths
  • Loading branch information
squidfunk authored Dec 12, 2023
2 parents fe93eb8 + b37f356 commit bee02ce
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
Expand Up @@ -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)
Expand Down

0 comments on commit bee02ce

Please sign in to comment.