diff options
author | Andras Timar <atimar@suse.com> | 2013-06-03 09:39:36 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-11-05 10:05:08 +0100 |
commit | 94727de4dacd1180f8f44760f3b7529ff1feade3 (patch) | |
tree | 06a4bc98b49721da0ad9b5c9b87df182705b93ba | |
parent | 7ce1a40e82bea15cfb47644c457e6b6a6a4e0306 (diff) |
Hardcode 4.0 version - it will be available as help.libreoffice.org/4.0
Change-Id: I63fa0615e20debe924404f66d65d86ad41d2d2e1
-rwxr-xr-x | help-to-wiki.py | 4 | ||||
-rwxr-xr-x | to-wiki/getalltitles.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/help-to-wiki.py b/help-to-wiki.py index 19d58ed56e..42aa072ad2 100755 --- a/help-to-wiki.py +++ b/help-to-wiki.py @@ -49,14 +49,14 @@ def create_wiki_dirs(): ] try: - os.mkdir( "wiki" ) + os.mkdir( "wiki/4.0" ) except: sys.stdout.write( "wiki already generated - the wiki/ subdir exists\n" ) sys.exit( 1 ) for i in dirs: try: - os.mkdir( "wiki/" + i ) + os.mkdir( "wiki/4.0" + i ) except: pass diff --git a/to-wiki/getalltitles.py b/to-wiki/getalltitles.py index 8db9bcb457..8ec6a8993c 100755 --- a/to-wiki/getalltitles.py +++ b/to-wiki/getalltitles.py @@ -130,7 +130,7 @@ def parsexhp(filename): title = tp.get_title() if len(title) > 0: readable_title = readable_text(title) - title = module + '/' + wiki_text(title) + title = '4.0' + module + '/' + wiki_text(title) title = title.replace(' ', '_') title = title.replace('___', '_') title = title.replace('__', '_') |