stub documentation for Thumbnail Macro, fixed an ordering problem in List of Macros, cleaned up Macro help "A".

This commit is contained in:
Colin Kuskie 2005-04-04 04:24:36 +00:00
parent 7b6c7e5af0
commit ffa4aa4d08
14 changed files with 82 additions and 14 deletions

View file

@ -18,7 +18,9 @@ our $HELP = {
'macros list' => {
title => 'macros list title',
body => 'macros list body',
related => [ map {
related => [
sort { $a->{tag} cmp $b->{tag} }
map {
$tag = $_;
$tag =~ s/^[a-zA-Z]+_//; #Remove initial shortcuts
$tag =~ s/([A-Z]+(?![a-z]))/$1 /g; #Separate acronyms
@ -27,7 +29,7 @@ our $HELP = {
{ tag => $tag,
namespace => $_ }
}
sort values %{ $session{config}{macros} }
values %{ $session{config}{macros} }
],
},