X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fbuild%2Fwww_post.py;h=b329390a5deab9dd7c5675d68a67490e184f36ea;hb=69f0ec479a6ade46d0a227755bb02562112c6743;hp=c80e0f52f9f589c7ba263e6e7bf8b70705c4732e;hpb=c521f5d108e214c1598410e033bf3944e674924c;p=lilypond.git diff --git a/scripts/build/www_post.py b/scripts/build/www_post.py index c80e0f52f9..b329390a5d 100644 --- a/scripts/build/www_post.py +++ b/scripts/build/www_post.py @@ -29,24 +29,12 @@ static_files = { Redirecting to the documentation index...\n''', os.path.join (outdir, 'VERSION'): package_version + '\n', - os.path.join ('input', 'lsr', outdir, 'index.html'): - ''' -Redirecting to the documentation index...\n''' } -for l in langdefs.LANGUAGES: - static_files[os.path.join ( - 'Documentation', - 'user', - outdir, - l.file_name ('index', '.html'))] = \ - '\nRedirecting to the documentation index...\n' - for f, contents in static_files.items (): open (f, 'w').write (contents) -sys.stderr.write ("Mirrorring...\n") +sys.stderr.write ("Mirroring...\n") dirs, symlinks, files = mirrortree.walk_tree ( tree_roots = doc_dirs, process_dirs = outdir, @@ -85,9 +73,6 @@ for t in targets: if not os.path.exists (dest): os.symlink (p, dest) - ## ad-hoc renaming to make xrefs between PDFs work - os.rename (os.path.join (out_root, 'input/lsr/lilypond-snippets.pdf'), - os.path.join (out_root, 'Documentation/user/lilypond-snippets.pdf')) # need this for content negotiation with documentation index if 'online' in targets: