mailr17880 - /trunk/scons/manuals.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 16, 2012 - 23:37:
Author: bugman
Date: Tue Oct 16 23:37:14 2012
New Revision: 17880

URL: http://svn.gna.org/viewcvs/relax?rev=17880&view=rev
Log:
Improvements to the API documentation compilation.

The excluded files and directories, as well as hidden ones, are no longer 
included in the list of
files/directories to add to the documentation.


Modified:
    trunk/scons/manuals.py

Modified: trunk/scons/manuals.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/scons/manuals.py?rev=17880&r1=17879&r2=17880&view=diff
==============================================================================
--- trunk/scons/manuals.py (original)
+++ trunk/scons/manuals.py Tue Oct 16 23:37:14 2012
@@ -268,6 +268,14 @@
         if file in blacklist:
             continue
 
+        # The excluded ones.
+        if file in exclude:
+            continue
+
+        # Hidden files and directories.
+        if search('^\.', file):
+            continue
+
         # Otherwise add it.
         epydoc_cmd = "%s %s" % (epydoc_cmd, file)
 




Related Messages


Powered by MHonArc, Updated Wed Oct 17 09:40:02 2012