Issue #1330 resolved

'exclude_patterns' don't deal with subfolders

Anonymous created an issue

My static data contains 'CVS' folder and also 'CVS' subfolders in another folders. To avoid it's coping I've include '**/CVS' pattern into 'exclude_patterns'. Result Ok: 'CVS' folder was not copied. BUG: 'CVS' subfolders were copied with another static data.

Note: it seems that problem in 'copy_static_entry' function (sphinx/util/, because it copy all tree at the second recursive call (when level=1).

Comments (4)

  1. Log in to comment