mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
updatedocs.py now updates templates and examples
development/MacOSX/ReadMe files are also updated.
This commit is contained in:
parent
82cf4838dc
commit
08d3456a71
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user