in DocBuild.py [0:0]
def _ProcessImageFile(self, apath):
rpath = os.path.relpath(apath, self.RootDirectory)
logging.debug("image file found: {0}".format(rpath))
rpath = self._CleanChars(rpath)
# Copy to output dir
s = apath
d = os.path.join(self.OutputDirectory, rpath)
os.makedirs(os.path.dirname(d), exist_ok=True)
shutil.copy2(s, d)