diff options
author | shimizukawa <shimizukawa@gmail.com> | 2017-08-16 09:13:15 +0300 |
---|---|---|
committer | shimizukawa <shimizukawa@gmail.com> | 2017-08-16 09:13:15 +0300 |
commit | 4f0de6f49ba130835dc087ca36b7e15a941aea29 (patch) | |
tree | 693cbd7323f406e2b7fa63a47c4f9de04648698f /sphinx/util/fileutil.py | |
parent | d63a6782287b797fa3924e59f2df113d73e9a909 (diff) |
copy static files beyond symlinked directories under _static directory.
This issue caused from ref #2744
Diffstat (limited to 'sphinx/util/fileutil.py')
-rw-r--r-- | sphinx/util/fileutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/fileutil.py b/sphinx/util/fileutil.py index 04fd338b7..fe98117d2 100644 --- a/sphinx/util/fileutil.py +++ b/sphinx/util/fileutil.py @@ -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)): |