in DocBuild.py [0:0]
def _ProcessMarkdownFile(self, apath):
# Add relative path to list of md files
rpath = os.path.relpath(apath, self.RootDirectory)
rpath = self._CleanChars(rpath)
self.MdFiles.append(rpath)
logging.debug("md file found: {0}".format(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)