From: John Mandereau Date: Sun, 11 Nov 2007 09:43:39 +0000 (+0100) Subject: Fix docs building X-Git-Tag: release/2.11.35-1~41^2~12 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6e31982697b9506828582541f1271c64f1893d52;p=lilypond.git Fix docs building A bogus regular expression in www_post.py prevented input/lsr/pitches from being copied to documentation output tree. --- diff --git a/buildscripts/www_post.py b/buildscripts/www_post.py index a61c75961b..8d7899ef0e 100644 --- a/buildscripts/www_post.py +++ b/buildscripts/www_post.py @@ -45,7 +45,7 @@ sys.stderr.write ("Mirrorring...\n") dirs, symlinks, files = mirrortree.walk_tree ( tree_roots = doc_dirs, process_dirs = outdir, - exclude_dirs = '(' + '|'.join ([l.code for l in langdefs.LANGUAGES]) + r'|po|out|\w*?-root)(/|$)', + exclude_dirs = '(^|/)(' + '|'.join ([l.code for l in langdefs.LANGUAGES]) + r'|po|out|\w*?-root)(/|$)', find_files = r'.*?\.(?:midi|html|pdf|png|txt|ly|signature)$|VERSION', exclude_files = r'lily-[0-9a-f]+.*\.pdf') @@ -60,7 +60,7 @@ for f in files: dirs = [re.sub ('/' + outdir, '', d) for d in dirs] while outdir in dirs: dirs.remove (outdir) -dirs = list( set (dirs)) +dirs = list (set (dirs)) dirs.sort () strip_file_name = {} diff --git a/input/lsr/LSR.ly b/input/lsr/LSR.ly index 5769f8dd2b..80a38925b8 100644 --- a/input/lsr/LSR.ly +++ b/input/lsr/LSR.ly @@ -1,4 +1,4 @@ -\version "2.10.0" +\version "2.11.34" \header{ texidoc = "@unnumbered LilyPond Examples @@ -7,7 +7,7 @@ These pages show LilyPond examples (snippets) from the @subheading 1 Musical notation -@strong{@uref{pitches/collated-files.html,Pitches}} not working :( +@strong{@uref{pitches/collated-files.html,Pitches}} @strong{@uref{rhythms/collated-files.html,Rhythms}} (@uref{rhythms/collated-files.pdf,pdf link})