mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +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,9 +44,11 @@ def convertdir(docdir, prefix, lyx2lyx, systemlyxdir):
|
|||||||
def main(argv):
|
def main(argv):
|
||||||
|
|
||||||
toolsdir = os.path.dirname(argv[0])
|
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"))
|
lyx2lyx = os.path.abspath(os.path.join(toolsdir, "../../lib/lyx2lyx/lyx2lyx"))
|
||||||
systemlyxdir = os.path.abspath(os.path.join(toolsdir, "../../lib"))
|
systemlyxdir = os.path.abspath(os.path.join(toolsdir, "../../lib"))
|
||||||
|
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)
|
convertdir(docdir, '', lyx2lyx, systemlyxdir)
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user