diff options
Diffstat (limited to 'scripts/build/www_post.py')
-rw-r--r-- | scripts/build/www_post.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/build/www_post.py b/scripts/build/www_post.py index c568734c1b..b329390a5d 100644 --- a/scripts/build/www_post.py +++ b/scripts/build/www_post.py @@ -29,20 +29,8 @@ static_files = { <html><body>Redirecting to the documentation index...</body></html>\n''', os.path.join (outdir, 'VERSION'): package_version + '\n', - os.path.join ('input', 'lsr', outdir, 'index.html'): - '''<META HTTP-EQUIV="refresh" content="0;URL=../../index.html"> -<html><body>Redirecting to the documentation index...</body></html>\n''' } -for l in langdefs.LANGUAGES: - static_files[os.path.join ( - 'Documentation', - 'user', - outdir, - l.file_name ('index', '.html'))] = \ - '<META HTTP-EQUIV="refresh" content="0;URL=../' + l.file_name ('index', '.html') + \ - '">\n<html><body>Redirecting to the documentation index...</body></html>\n' - for f, contents in static_files.items (): open (f, 'w').write (contents) @@ -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: |