mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-08-04 04:26:06 +00:00
asciidoc-pmg: scan extjs: also find onlineHelpTool references
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c7fd1dd851
commit
2f3c969a90
@ -461,7 +461,7 @@ sub scan_extjs_file {
|
||||
debug("scan-extjs $filename");
|
||||
|
||||
while(defined(my $line = <$fh>)) {
|
||||
if ($line =~ m/\s+onlineHelp:\s*[\'\"](.*?)[\'\"]/) {
|
||||
if ($line =~ m/(?:\s+|Utils\.)onlineHelp(?:Tool)?[:(]\s*[\'\"](.*?)[\'\"]/) {
|
||||
my $blockid = $1;
|
||||
my $link = $fileinfo->{blockid_target}->{default}->{$blockid};
|
||||
die "undefined blockid '$blockid' ($filename, line $.)\n"
|
||||
|
Loading…
Reference in New Issue
Block a user