From: Graham Percival Date: Sat, 9 Jan 2010 15:39:45 +0000 (+0000) Subject: Web build: manual links without format printing. X-Git-Tag: release/2.13.11-1~66 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cf09dee16c5d7991e69603cd35d9e1103ee6d639;p=lilypond.git Web build: manual links without format printing. Also rename Extend to Extending. --- diff --git a/Documentation/web/manuals.itexi b/Documentation/web/manuals.itexi index 7032f41b9f..c9278f6a94 100644 --- a/Documentation/web/manuals.itexi +++ b/Documentation/web/manuals.itexi @@ -32,16 +32,16 @@ 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}} diff --git a/scripts/build/create-version-itexi.py b/scripts/build/create-version-itexi.py index 287b222da5..553747bd3c 100644 --- a/scripts/build/create-version-itexi.py +++ b/scripts/build/create-version-itexi.py @@ -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 ************"