From 08d3456a71452b17a1d7a68af8003f3146b852f7 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Fri, 13 Nov 2015 12:59:28 -0500 Subject: [PATCH] updatedocs.py now updates templates and examples development/MacOSX/ReadMe files are also updated. --- development/tools/updatedocs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/development/tools/updatedocs.py b/development/tools/updatedocs.py index 600e4caa33..ab47062481 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