The # character has to be escaped when converted to YAML as anything after a # is considered a comment.
Change the way the file is determined to be a module page file by checking the yaml metadata header instead of relying on - in the file name.
Added tests.
Also fix the metadata for external help file when command is in a nested module.
Fixes #529 Fixes #515 Fixes #447 fixes #528
The
#
character has to be escaped when converted to YAML as anything after a # is considered a comment. Change the way the file is determined to be a module page file by checking the yaml metadata header instead of relying on-
in the file name. Added tests.Also fix the metadata for external help file when command is in a nested module.