From: Graham Percival Date: Sun, 18 Oct 2009 23:03:37 +0000 (+0100) Subject: Doc: make Changes a split manual. X-Git-Tag: release/2.13.6-1~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9f1ca6035f56c2c1b47245ee88d7fd92dc6ef621;p=lilypond.git Doc: make Changes a split manual. This fixes a broken link on the web page, and it's something we want to do in the long term anyway. --- diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index eaae4f18ba..0a1b168122 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -57,7 +57,7 @@ TEXI_FILES_FROM_TELY = $(outdir)/internals.texi PDF_FILES = $(TEXINFO_MANUALS:%=$(outdir)/%.pdf) TOPDIR_HTML_MANUALS = general -UNSPLITTED_HTML_MANUALS = changes +UNSPLITTED_HTML_MANUALS = SPLITTED_HTML_MANUALS = $(foreach manual, $(TEXINFO_MANUALS),\ $(if $(findstring $(manual), $(UNSPLITTED_HTML_MANUALS)),,$(manual))) NOT_TOPDIR_HTML_MANUALS = $(foreach manual, $(SPLITTED_HTML_MANUALS),\ diff --git a/Documentation/general/manuals.itexi b/Documentation/general/manuals.itexi index 94dfc8287f..ed3b93d54e 100644 --- a/Documentation/general/manuals.itexi +++ b/Documentation/general/manuals.itexi @@ -502,18 +502,13 @@ read this manual in the same format as this one. @divClass{keep-bullets} @itemize -@c Changes isn't available as a split manual. -@c (maybe it should be, but it isn't so far) -@c @item @uref{changes/index.html, Changes (split HTML)}: -@c the manual is split between many HTML pages. -@c @emph{(small download for each page)} - -@c @item @uref{changes-big-page.html, Changes (big HTML)}: -@c read this manual as one huge HTML page. -@c @emph{(large single download, around 10? Mb)} - -@item @uref{changes.html, Changes}: -read this manual as a HTML page. +@item @uref{changes/index.html, Changes (split HTML)}: +the manual is split between many HTML pages. +@emph{(small download for each page)} + +@item @uref{changes-big-page.html, Changes (big HTML)}: +read this manual as one huge HTML page. +@emph{(large single download, around 10? Mb)} @item @uref{changes.pdf, changes.pdf}: download as a PDF file. diff --git a/python/auxiliar/buildlib.py b/python/auxiliar/buildlib.py index 3f29b1cd1b..7ab2269576 100644 --- a/python/auxiliar/buildlib.py +++ b/python/auxiliar/buildlib.py @@ -30,7 +30,7 @@ renames_map = { # FIXME: Hardcoded file names!? manuals_subdirectories_re = \ - re.compile ('(usage|automated-engraving|essay|extending|general|learning|notation)/') + re.compile ('(usage|automated-engraving|changes|essay|extending|general|learning|notation)/') def add_old_name (file_path): for new_path in renames_map: diff --git a/python/auxiliar/postprocess_html.py b/python/auxiliar/postprocess_html.py index 055bb5f2b9..b1b2a6bea9 100644 --- a/python/auxiliar/postprocess_html.py +++ b/python/auxiliar/postprocess_html.py @@ -19,7 +19,7 @@ non_copied_pages = ['Documentation/out-www/notation-big-page', 'Documentation/out-www/usage-big-page', 'Documentation/out-www/music-glossary-big-page', 'Documentation/out-www/contributor', - 'Documentation/out-www/changes', + 'Documentation/out-www/changes-big-page', 'Documentation/out-www/snippets', 'out-www/examples', 'Documentation/topdocs', @@ -100,7 +100,7 @@ def source_links_replace (m, source_val): return 'href="' + os.path.join (source_val, m.group (1)) + '"' # More hardcoding, yay! -splitted_docs_re = re.compile ('(Documentation/out-www/(automated-engraving|essay|notation|music-glossary|usage|general|learning|snippets))/') +splitted_docs_re = re.compile('(Documentation/out-www/(automated-engraving|essay|notation|changes/music-glossary|usage|general|learning|snippets))/') lily_snippets_re = re.compile ('(href|src)="([0-9a-f]{2}/lily-.*?)"') pictures_re = re.compile ('src="(pictures/.*?)"')