stub documentation for Thumbnail Macro, fixed an ordering problem in List of Macros, cleaned up Macro help "A".
This commit is contained in:
parent
7b6c7e5af0
commit
ffa4aa4d08
14 changed files with 82 additions and 14 deletions
|
|
@ -10,6 +10,10 @@ our $HELP = {
|
|||
tag => 'macros using',
|
||||
namespace => 'Macros'
|
||||
},
|
||||
{
|
||||
tag => 'metadata manage',
|
||||
namespace => 'Asset'
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@ our $HELP = {
|
|||
tag => 'macros using',
|
||||
namespace => 'Macros'
|
||||
},
|
||||
{
|
||||
tag => 'metadata manage',
|
||||
namespace => 'Asset'
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@ our $HELP = {
|
|||
tag => 'macros using',
|
||||
namespace => 'Macros'
|
||||
},
|
||||
{
|
||||
tag => 'template language',
|
||||
namespace => 'Template'
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@ our $HELP = {
|
|||
tag => 'macros using',
|
||||
namespace => 'Macros'
|
||||
},
|
||||
{
|
||||
tag => 'template language',
|
||||
namespace => 'Template'
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@ our $HELP = {
|
|||
tag => 'macros using',
|
||||
namespace => 'Macros'
|
||||
},
|
||||
{
|
||||
tag => 'shortcut add/edit',
|
||||
namespace => 'Shortcut'
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -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} }
|
||||
],
|
||||
},
|
||||
|
||||
|
|
|
|||
18
lib/WebGUI/Help/Thumbnail.pm
Normal file
18
lib/WebGUI/Help/Thumbnail.pm
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package WebGUI::Help::Thumbnail;
|
||||
|
||||
our $HELP = {
|
||||
|
||||
'thumbnail' => {
|
||||
title => 'thumbnail title',
|
||||
body => 'thumbnail body',
|
||||
related => [
|
||||
{
|
||||
tag => 'macros using',
|
||||
namespace => 'Macros',
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue