]> git.donarmstrong.com Git - lilypond.git/commitdiff
Web: refactor doc links.
authorGraham Percival <graham@percival-music.ca>
Mon, 11 Jan 2010 13:36:51 +0000 (13:36 +0000)
committerGraham Percival <graham@percival-music.ca>
Mon, 11 Jan 2010 13:36:51 +0000 (13:36 +0000)
Documentation/web.texi
Documentation/web/community.itexi

index a8e5e0e20212957db8481fdb004d6dfa45b5dce1..a02ea308d440832d44b231a5fabc6dbce2c7983a 100644 (file)
@@ -207,35 +207,48 @@ Distributions will want to install lilypond.info in postinstall, doing:
 @end macro
 
 
-@macro docLinksBare{name,base,refLink,split,big,bigsize,pdf,pdfsize}
-
-@divClass{keep-bullets}
-@itemize
-
+@macro docLinkSplit{name,base,webLink}
 @ifclear web_version
-  @item @uref{../\base\/index.html, \name\ (split HTML)}:
+  @uref{../\base\/index.html, \name\ (split HTML)}:
 @end ifclear
 @ifset web_version
-  @item \split\:
+  \webLink\:
 @end ifset
-  the manual is split between many HTML pages.
-  @*@ @ @emph{(small download for each page)}
+@end macro
 
+@macro docLinkBig{name,base,webLink}
 @ifclear web_version
-  @item @uref{../\base\-big-page.html, \name\ (big HTML)}:
+  @uref{../\base\-big-page.html, \name\ (big HTML)}:
 @end ifclear
 @ifset web_version
-  @item \big\:
+  \webLink\:
 @end ifset
-  read this manual as one huge HTML page.
-  @*@ @ @emph{(large single download, \bigsize\)}
+@end macro
 
+@macro docLinkPdf{name,base,webLink}
 @ifclear web_version
-  @item @uref{../\base\.pdf, \base\.pdf}:
+  @uref{../\base\.pdf, \base\.pdf}:
 @end ifclear
 @ifset web_version
-  @item \pdf\:
+  \webLink\:
 @end ifset
+@end macro
+
+
+@macro docLinksBare{name,base,refLink,split,big,bigsize,pdf,pdfsize}
+
+@divClass{keep-bullets}
+@itemize
+
+@item @docLinkSplit{\name\,\base\,\split\}
+  the manual is split between many HTML pages.
+  @*@ @ @emph{(small download for each page)}
+
+@item @docLinkBig{\name\,\base\,\split\}
+  read this manual as one huge HTML page.
+  @*@ @ @emph{(large single download, \bigsize\)}
+
+@item @docLinkPdf{\name\,\base\,\pdf\}
   download as a PDF file.
   @*@ @ @emph{(large single download, \pdfsize\)}
 
index 5a56f142d9062cc660ce26a9807091f14eed222c..6d3a8d81b823e7ee8751835a5723cf3fe44517f4 100644 (file)
@@ -538,7 +538,13 @@ GOP is our big recruiting drive for new contributors.
 @unnumberedsec Development
 
 @divClass{heading-center}
-@heading Development for LilyPond @versionDevel{}
+@ifclear web_version
+  @heading Development for LilyPond @version
+@end ifclear
+@ifset web_version
+  @heading Development for LilyPond @versionDevel
+@end ifset
+
 
 @warning{These are @emph{unstable development} versions.  If you
 have the slightest doubt about how to use or install LilyPond, we