]> git.donarmstrong.com Git - lilypond.git/commitdiff
Web build: manual links without format printing.
authorGraham Percival <graham@percival-music.ca>
Sat, 9 Jan 2010 15:39:45 +0000 (15:39 +0000)
committerGraham Percival <graham@percival-music.ca>
Sat, 9 Jan 2010 16:22:44 +0000 (16:22 +0000)
Also rename Extend to Extending.

Documentation/web/manuals.itexi
scripts/build/create-version-itexi.py

index 7032f41b9f6a034a1991d425f1f56f332e32f628..c9278f6a943e88dc5a8c94b4f04c57df199f1770 100644 (file)
 LilyPond is a @strong{text-based} music engraver.  Read this
 first!
 
-@item @ifWebLinks{@manualStableLearningSplit,@rlearningnamed{Top,Learning}}
+@item @ifWebLinks{@manualStableLearningSplitNoName,@rlearningnamed{Top,Learning}}
 a @qq{must-read} gentle introduction to LilyPond.
 (@ref{Learning, details of Learning})
 
-@item @ifWebLinks{@manualStableGlossarySplit,@rglosnamed{Top,Glossary}}
+@item @ifWebLinks{@manualStableGlossarySplitNoName,@rglosnamed{Top,Glossary}}
 @emph{(optional reading)}
 musical terms and translations.
 (@ref{Glossary, details of Glossary})
 
-@item @ifWebLinks{@manualStableEssaySplit,@ressaynamed{Top,Essay}}
+@item @ifWebLinks{@manualStableEssaySplitNoName,@ressaynamed{Top,Essay}}
 @emph{(optional reading)}
 background information about engraving and our aesthetics.
 (@ref{Essay, details of Essay})
@@ -56,15 +56,15 @@ background information about engraving and our aesthetics.
 
 @itemize
 
-@item @ifWebLinks{@manualStableNotationSplit,@rusernamed{Top,Notation}}
+@item @ifWebLinks{@manualStableNotationSplitNoName,@rusernamed{Top,Notation}}
 detailed reference for syntax and notation.
 (@ref{Notation, details of Notation})
 
-@item @ifWebLinks{@manualStableUsageSplit,@rprogramnamed{Top,Usage}}
+@item @ifWebLinks{@manualStableUsageSplitNoName,@rprogramnamed{Top,Usage}}
 running the programs and OS-specific issues.
 (@ref{Usage, details of Usage})
 
-@item @ifWebLinks{@manualStableSnippetsSplit,@rlsrnamed{Top,Snippets}}
+@item @ifWebLinks{@manualStableSnippetsSplitNoName,@rlsrnamed{Top,Snippets}}
 short tricks, tips, and examples.
 (@ref{Snippets, details of Snippets})
 
@@ -85,15 +85,15 @@ Frequently Asked Questions.
 this document.
 (@ref{Web, details of Web})
 
-@item @ifWebLinks{@manualStableChangesSplit,@rchangesnamed{Top,Changes}}
+@item @ifWebLinks{@manualStableChangesSplitNoName,@rchangesnamed{Top,Changes}}
 updates since the last major version.
 (@ref{Changes, details of Changes})
 
-@item @ifWebLinks{@manualStableExtendingSplit,@rextendnamed{Top,Extend}}
+@item @ifWebLinks{@manualStableExtendingSplitNoName,@rextendnamed{Top,Extending}}
 programming fancy tweaks in LilyPond.
-(@ref{Extend, details of Extend})
+(@ref{Extending, details of Extending})
 
-@item @ifWebLinks{@manualStableInternalsSplit,@rinternalsnamed{Top,Internals}}
+@item @ifWebLinks{@manualStableInternalsSplitNoName,@rinternalsnamed{Top,Internals}}
 reference about data structures.
 (@ref{Internals, details of Internals})
 
@@ -136,7 +136,7 @@ License.
 * FAQ::                         FAQ.
 * Web::                      Web.
 * Changes::                     NEWS.
-* Extend::         Programming.
+* Extending::         Programming.
 * Internals::         Internals.
 * Translated::          Translation.
 * All::                 All manuals.
@@ -395,11 +395,11 @@ LilyPond since the previous stable version.
 @divEnd
 
 
-@node Extend
-@unnumberedsec Extend
+@node Extending
+@unnumberedsec Extending
 
 @divClass{column-left-top}
-@subheading Extend LilyPond
+@subheading Extending LilyPond
 
 This manual explains how to write extensions to LilyPond.
 
@@ -407,8 +407,8 @@ This manual explains how to write extensions to LilyPond.
 
 @divClass{column-right-bottom}
 
-@docLinks{Extend, extend,
-  @rextendnamed{Top,Extend},
+@docLinks{Extending, extending,
+  @rextendnamed{Top,Extending},
   @manualStableExtendingSplit,
   @manualStableExtendingBig, 200 KB,
   @manualStableExtendingPdf, 400 KB}
@@ -529,7 +529,7 @@ links to answers of Frequently Asked Questions.
 @item @ifWebLinks{@manualStableChangesSplit,@rchangesnamed{Top,Changes}}
 updates since the last major version.
 
-@item @ifWebLinks{@manualStableExtendingSplit,@rextendnamed{Top,Extend}}
+@item @ifWebLinks{@manualStableExtendingSplit,@rextendnamed{Top,Extending}}
 programming fancy tweaks in LilyPond.
 
 @item @ifWebLinks{@manualStableInternalsSplit,@rinternalsnamed{Top,Internals}}
index 287b222da5e37d742c66058d99aced03c7cc0bdc..553747bd3cd77ec6ba50c97b26bb350ecf34587a 100644 (file)
@@ -127,16 +127,22 @@ def translateNameToUrl(manual, version):
     if (ver_minor == '2.12'):
         if (manual=='learning'):
             return url+'user/lilypond-learning'
-        if (manual=='internals'):
+        elif (manual=='internals'):
             return url+'user/lilypond-internals'
-        if (manual=='notation'):
+        elif (manual=='notation'):
             return url+'user/lilypond'
-        if (manual=='usage'):
+        elif (manual=='usage'):
             return url+'user/lilypond-program'
-        if (manual=='snippets'):
+        elif (manual=='snippets'):
             return url+'../input/lsr/lilypond-snippets'
+        elif (manual=='changes'):
+            return url+'topdocs/NEWS'
         elif (manual=='music-glossary'):
             return url+'user/music-glossary'
+        elif (manual=='essay'):
+            return url+'user/lilypond-learning/Background'
+        elif (manual=='extending'):
+            return url+'user/music/Interfaces-for-programmers'
         else:
             return ''
 
@@ -161,6 +167,9 @@ def make_manual_links(name, version):
             make_ver_link("manual"+name+mshort+'Big',
                 version, "http://lilypond.org",
                 mshort+" (did not exist in 2.12)")
+            make_ver_link("manual"+name+mshort+'SplitNoName',
+                version, "http://lilypond.org",
+                mshort+" (did not exist in 2.12)")
             continue
         make_ver_link("manual"+name+mshort+'Pdf',
                   version,
@@ -174,6 +183,10 @@ def make_manual_links(name, version):
                   version,
                   url + '-big-page.html',
                   manual.capitalize() + ' (big HTML)')
+        make_ver_link("manual"+name+mshort+'SplitNoName',
+                  version,
+                  url + '/index.html',
+                  manual.capitalize())
 
 
 print "@c ************************ Version numbers ************"