Revision: 31216
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31216
Author:   nexyon
Date:     2010-08-10 15:16:23 +0200 (Tue, 10 Aug 2010)

Log Message:
-----------
Py API Docs generation: Fix for .svn directory appearing after commit :)

Modified Paths:
--------------
    branches/soc-2010-nexyon/intern/audaspace/Python/doc/sphinxoutput.py

Modified: branches/soc-2010-nexyon/intern/audaspace/Python/doc/sphinxoutput.py
===================================================================
--- branches/soc-2010-nexyon/intern/audaspace/Python/doc/sphinxoutput.py        
2010-08-10 13:06:45 UTC (rev 31215)
+++ branches/soc-2010-nexyon/intern/audaspace/Python/doc/sphinxoutput.py        
2010-08-10 13:16:23 UTC (rev 31216)
@@ -54,7 +54,8 @@
                
                # copy the bge docs
                for f in os.listdir('rst'):
-                       shutil.copy(os.path.join('rst', f), tmpdir)
+                       if not f.startswith('.'):
+                               shutil.copy(os.path.join('rst', f), tmpdir)
                
                # write config and contents
                contents_tpl = self.find_template('contents')
@@ -90,4 +91,4 @@
                                shutil.copy(source, target)
                
                # call sphinx
-               os.system("sphinx-build sphinx-in sphinx-out")
\ No newline at end of file
+               os.system("sphinx-build sphinx-in sphinx-out")


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to