Skip to content

Commit

Permalink
copy static files beyond symlinked directories under _static directory.
Browse files Browse the repository at this point in the history
This issue caused from ref #2744
  • Loading branch information
shimizukawa committed Aug 16, 2017
1 parent d63a678 commit 4f0de6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/util/fileutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def copy_asset(source, destination, excluded=lambda path: False, context=None, r
copy_asset_file(source, destination, context, renderer)
return

for root, dirs, files in walk(source):
for root, dirs, files in walk(source, followlinks=True):
reldir = relative_path(source, root)
for dir in dirs[:]:
if excluded(posixpath.join(reldir, dir)):
Expand Down

0 comments on commit 4f0de6f

Please sign in to comment.