Ignore:
Timestamp:
Oct 15, 2013 5:08:50 PM (8 years ago)
Author:
toby
Message:

minor doc updates, no rebuild

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sphinxdocs/find_undoc.py

    r939 r1109  
    1111                     
    1212# loop over python files in subversion
    13 #for fil in glob.iglob(os.path.join(loc,'..','GSAS*.py')):
    1413proc = sp.Popen(["svn","list",os.path.join(loc,'..')],stdout=sp.PIPE)
     14undoc = []
    1515for fil in proc.stdout.readlines():
     16    fil = fil.strip()
     17    print fil+'...',
    1618    if os.path.splitext(fil.strip())[1] != ".py": continue
    1719    if os.path.splitext(os.path.split(fil)[1])[0] in documented:
    18         #print 'doc'
     20        print 'doc'
    1921        continue
    2022    else:
    21         print ".. automodule:: "+os.path.splitext(os.path.split(fil)[1])[0]
    22         print "    :members: "
    23         print ""
     23        print '\n'+fil+' undocumented'
     24        undoc.append(fil)
     25for fil in undoc:
     26    print ".. automodule:: "+os.path.splitext(os.path.split(fil)[1])[0]
     27    print "    :members: "
     28    print ""
Note: See TracChangeset for help on using the changeset viewer.