]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: make Changes a split manual.
authorGraham Percival <graham@percival-music.ca>
Sun, 18 Oct 2009 23:03:37 +0000 (00:03 +0100)
committerGraham Percival <graham@percival-music.ca>
Sun, 18 Oct 2009 23:03:37 +0000 (00:03 +0100)
This fixes a broken link on the web page, and it's something we
want to do in the long term anyway.

Documentation/GNUmakefile
Documentation/general/manuals.itexi
python/auxiliar/buildlib.py
python/auxiliar/postprocess_html.py

index eaae4f18baf9886f7360c222f66afc83085618aa..0a1b168122be1ef95f7376c3e6167bafc54fd9ba 100644 (file)
@@ -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),\
index 94dfc8287f4b1775f730ff1bf6311fb5cc636d30..ed3b93d54e9a3f54efe22dc915596cd5e6dbe9dd 100644 (file)
@@ -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.
index 3f29b1cd1b2a3a3ff5170e1b9c5de7978f37b6dd..7ab2269576697ef3ebbab51d978c920ff1af229f 100644 (file)
@@ -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:
index 055bb5f2b9abf9ce71528ad5b6fd386e0bf0f244..b1b2a6bea93d44740bbc5dce810e1552ed54fd25 100644 (file)
@@ -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/.*?)"')