From 0032717ddf9a0ef7aa0e5c9531ace0fca003b382 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 20 Oct 2011 02:01:08 +0000 Subject: Don't copy build system etc. files to documentation output --- gendoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gendoc.py b/gendoc.py index 8c90286..09919ab 100755 --- a/gendoc.py +++ b/gendoc.py @@ -105,7 +105,7 @@ for dir in ['ext', 'extensions']: outdir = os.path.join(out_base, dir) - shutil.copytree(dir, outdir, ignore = lambda src, names: '.svn') + shutil.copytree(dir, outdir, ignore=shutil.ignore_patterns('.*', 'waf', 'wscript', '*.in')) index_html = """ -- cgit v1.2.1