Code

user-manual: Use def_ instead of ref_ for glossary references.
authorJ. Bruce Fields <bfields@citi.umich.edu>
Sun, 18 Mar 2007 00:40:13 +0000 (20:40 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 19 Mar 2007 01:53:50 +0000 (21:53 -0400)
I'd like to start using references to the glossary in the user manual.
The "ref_" prefix for these references seems a little generic; so
replace with "def_".

Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Documentation/sort_glossary.pl

index 05dc7b2c7b3653c2b70850e881263e9c5236e153..4ae6290368cef458ca6ba1c90a666c18ca7af9e7 100644 (file)
@@ -50,8 +50,8 @@ This list is sorted alphabetically:
 @keys=sort {uc($a) cmp uc($b)} keys %terms;
 $pattern='(\b(?<!link:git-)'.join('\b|\b(?<!-)',reverse @keys).'\b)';
 foreach $key (@keys) {
-       $terms{$key}=~s/$pattern/sprintf "<<ref_".no_spaces($1).",$1>>";/eg;
-       print '[[ref_'.no_spaces($key).']]'.$key."::\n"
+       $terms{$key}=~s/$pattern/sprintf "<<def_".no_spaces($1).",$1>>";/eg;
+       print '[[def_'.no_spaces($key).']]'.$key."::\n"
                .format_tab_80($terms{$key})."\n";
 }