commit 08d3456a71452b17a1d7a68af8003f3146b852f7
Author: Scott Kostyshak <[email protected]>
Date:   Fri Nov 13 12:59:28 2015 -0500

    updatedocs.py now updates templates and examples
    
    development/MacOSX/ReadMe files are also updated.

diff --git a/development/tools/updatedocs.py b/development/tools/updatedocs.py
index 600e4ca..ab47062 100644
--- a/development/tools/updatedocs.py
+++ b/development/tools/updatedocs.py
@@ -44,10 +44,12 @@ def convertdir(docdir, prefix, lyx2lyx, systemlyxdir):
 def main(argv):
 
     toolsdir = os.path.dirname(argv[0])
-    docdir = os.path.abspath(os.path.join(toolsdir, '../../lib/doc'))
     lyx2lyx = os.path.abspath(os.path.join(toolsdir, 
"../../lib/lyx2lyx/lyx2lyx"))
     systemlyxdir = os.path.abspath(os.path.join(toolsdir, "../../lib"))
-    convertdir(docdir, '', lyx2lyx, systemlyxdir)
+    docpaths = ['../../lib/doc', '../../lib/examples', '../../lib/templates', 
'../../development/MacOSX/ReadMe']
+    for docpath in docpaths:
+        docdir = os.path.abspath(os.path.join(toolsdir, docpath))
+        convertdir(docdir, '', lyx2lyx, systemlyxdir)
 
     return 0
 

Reply via email to