]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/build/www_post.py
Docs: reorganize documentation directory structure
[lilypond.git] / scripts / build / www_post.py
index c568734c1b8e16a63f5065de4a57a3acd86d09d9..b329390a5deab9dd7c5675d68a67490e184f36ea 100644 (file)
@@ -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: