6.1.1. sphinx.util.copy_static_entry

sphinx.util.copy_static_entry(source, targetdir, builder, context={}, exclude_matchers=(), level=0)[source]

Copy a HTML builder static_path entry from source to targetdir.

Handles all possible cases of files, directories and subdirectories.