summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorJohn Mandereau <john.mandereau@gmail.com>2009-07-25 15:44:39 +0200
committerJohn Mandereau <john.mandereau@gmail.com>2009-07-25 15:44:39 +0200
commit69f0ec479a6ade46d0a227755bb02562112c6743 (patch)
tree2ba2fee2315ea115194b81d10a4a4706ce7225d5 /scripts/build
parent1423508c355989fa26a8cfe5985b0d6e1ab0a538 (diff)
Docs: reorganize documentation directory structure
* rename manuals by stripping "lilypond-" prefix from all source file names and HTML and PDF output (it is kept in Info output, where it is necessary), * move manuals in Documentation/user one directory higher, in addition rename lilypond-program to application, and put .itely files in subdirectories, * move Documentation/topdocs/NEWS.tely to Documentation, * move Documentation/devel/contrib-guide.texi to Documentation/contributor.texi, * move input/lsr/lilypond-snippets.tely to Documentation/, move the rest input/lsr to Documentation/snippets, * move input/new to Documentation/snippets/new, * move input/texidocs contents to Documentation/<language_codes>/texidocs, splitting texidocs by language, * do the same changes in all translations when applicable, * move Documentation/devel/index.html.in back to Documentation/deve.html.in. 'make all', 'make doc' and 'make dist' have been tested, although tons of broken HTML and PDF links and Info cross-references are expected. Maintenance makefiles (Documentation/GNUmakefile) and scripts (scripts/auxiliar) are known to be broken, they will be updated in a future commit. TODO: Documentation/GNUmakefile is still a bit of a mess.
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/www_post.py15
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: