Implement multiple inheritance in Help, allowing variables, fields and related
topics to be inherited from multiple entries. Operation/Help now also gives the help hash a default ISA array, to make downstream processing by tests and documentation compilers easier. Convert existing Help entries that already used ISA to have an array ref instead of a singular hash ref. Also update the Help skeleton to show the new syntax.
This commit is contained in:
parent
d7450926be
commit
b4597e50e5
14 changed files with 105 additions and 39 deletions
|
|
@ -43,10 +43,16 @@ our $HELP = {
|
|||
'file template' => {
|
||||
title => 'file template title',
|
||||
body => 'file template body',
|
||||
isa => {
|
||||
namespace => "Asset_Template",
|
||||
tag => "template variables"
|
||||
isa => [
|
||||
{
|
||||
namespace => "Asset_Template",
|
||||
tag => "template variables"
|
||||
},
|
||||
{
|
||||
namespace => "Asset",
|
||||
tag => "asset template"
|
||||
},
|
||||
],
|
||||
variables => [
|
||||
{
|
||||
'name' => 'fileSize'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue