DOCS: Exclude .git directory from build.

Change-Id: I7715714a4a0cf1f74a9dbc0fa8ce6b0c1bee8b8f
diff --git a/make_cdd.py b/make_cdd.py
index 396769d..545cad2 100644
--- a/make_cdd.py
+++ b/make_cdd.py
@@ -32,7 +32,7 @@
   # for rootdir, subdirs, files in os.walk(my_path):
   for dir in get_immediate_subdirs(my_path):
     # for dir  in subdirs:
-    if (not dir.isalpha() and dir != 'older-versions'):
+    if (not dir.isalpha() and dir != 'older-versions' and dir != '.git'):
       child_data = []
       print 'dir = ' + dir
       for file in os.listdir(dir):