mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
copy static files beyond symlinked directories under _static directory.
This issue caused from ref #2744
This commit is contained in:
parent
d63a678228
commit
4f0de6f49b
@ -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)):
|
||||
|
Loading…
Reference in New Issue
Block a user