]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: how to update committishes of .texidoc files at once (issue 3485)
authorFederico Bruni <fedelogy@gmail.com>
Sun, 4 Aug 2013 02:00:32 +0000 (04:00 +0200)
committerFederico Bruni <fedelogy@gmail.com>
Thu, 8 Aug 2013 19:22:15 +0000 (21:22 +0200)
Documentation/contributor/doc-work.itexi

index 8b4e1d9b0796027c03b5f4ebee96bee4b41a7e07..bd7a4aa317e9b8082044abcbd00347b688bd498a 100644 (file)
@@ -2075,6 +2075,17 @@ git rev-list HEAD |head -1
 @c contains a helper script which could be used to perform massive
 @c committish updates.
 
+Most of the changes in the LSR snippets included in the documentation concern
+the syntax, not the description inside @code{texidoc=""}.  This implies that
+quite often you will have to update only the committish of the matching
+.texidoc file.  This can be a tedious work if there are many snippets to be
+marked as up do date.  You can use the following command to update the
+committishes at once:
+
+@example
+cd Documentation/LANG/texidocs
+sed -i -r 's/[0-9a-z]@{40@}/NEW-COMMITTISH/' *.texidoc
+@end example
 
 @seealso
 @ref{LSR work}.