diff options
author | Gervase Markham <gerv@gerv.net> | 2015-05-11 20:02:45 +0200 |
---|---|---|
committer | Gervase Markham <gerv@gerv.net> | 2015-05-11 20:02:45 +0200 |
commit | bd41649cf11a5bd06ba07ac46ed5795f2adb1978 (patch) | |
tree | 7797cd6960b1c630d985cac940431ba0d18df67f /docs | |
parent | edef0e4ec2f63105d8971d89882ef513f5aed28a (diff) | |
download | bugzilla-bd41649cf11a5bd06ba07ac46ed5795f2adb1978.tar.gz bugzilla-bd41649cf11a5bd06ba07ac46ed5795f2adb1978.tar.xz |
Bug 1144086 - Move extension docs assembly from makedocs.pl to conf.py. r=dkl,a=glob
Diffstat (limited to 'docs')
-rw-r--r-- | docs/en/rst/conf.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/en/rst/conf.py b/docs/en/rst/conf.py index c8be24e49..a5c6090e9 100644 --- a/docs/en/rst/conf.py +++ b/docs/en/rst/conf.py @@ -400,6 +400,10 @@ ext_dir = "../../../extensions" if (os.path.isdir(ext_dir)): # Clear out old extensions docs for dir in os.listdir("extensions"): + # A .gitignore file is required as git doesn't like empty directories + if dir == ".gitignore": + continue + shutil.rmtree(os.path.join("extensions", dir)) # Copy in new copies |