From 69f0ec479a6ade46d0a227755bb02562112c6743 Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Sat, 25 Jul 2009 15:44:39 +0200 Subject: 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//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. --- scripts/build/www_post.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'scripts/build/www_post.py') 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 = { 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) @@ -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: -- cgit v1.2.3