From 689d54a36cd84fb9bee9e1e74ca3aa6bc8332698 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 17 Jan 2016 06:35:00 +0000 Subject: [PATCH] commandref_join.pl: bugfix, commandref_frame.html: remove some fixed categorizations (Forum #47155) git-svn-id: https://svn.fhem.de/fhem/trunk@10547 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/commandref_join.pl | 11 +++++++---- fhem/docs/commandref_frame.html | 17 ----------------- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/fhem/contrib/commandref_join.pl b/fhem/contrib/commandref_join.pl index 780aa2cfc..f07cd149d 100755 --- a/fhem/contrib/commandref_join.pl +++ b/fhem/contrib/commandref_join.pl @@ -33,7 +33,10 @@ if(!$verify) { $modIdx{$l} = "device"; open(MOD, "$modDir/$of") || die("Cant open $modDir/$l"); while(my $cl = ) { - $modIdx{$l} = $1 if($cl =~ m/^=item\s*(helper|command|device)/); + if($cl =~ m/^=item\s+(helper|command|device)/) { + $modIdx{$l} = $1; + last; + } } close(MOD); } @@ -124,7 +127,7 @@ sub generateModuleCommandref($$;$) $dosMode = 1 if($l =~ m/^=begin html$suffix.*\r/); if($l =~ m/^=begin html$suffix$/) { $l = ; # skip one line, to be able to repeat join+split - print "$lang $mod: nonempty line after =begin html ignored\n" + print "*** $lang $mod: nonempty line after =begin html ignored\n" if($l =~ m/^...*$/); $skip = 0; $line++; @@ -159,11 +162,11 @@ sub generateModuleCommandref($$;$) EOF } } - print "$lang $mods{$mod}: No a-tag with name=\"$mod\" \n" + print "*** $lang $mods{$mod}: No a-tag with name=\"$mod\" \n" if(!$suffix && $docCount && !$hasLink && !$noWarnings); foreach $tag (TAGS) { - print("$lang $mods{$mod}: Unbalanced $tag ". + print("*** $lang $mods{$mod}: Unbalanced $tag ". "($tagcount{$tag}, last line ok: $llwct{$tag})\n") if($tagcount{$tag} && !$noWarnings); } diff --git a/fhem/docs/commandref_frame.html b/fhem/docs/commandref_frame.html index 5a13f42de..301a5e2a7 100644 --- a/fhem/docs/commandref_frame.html +++ b/fhem/docs/commandref_frame.html @@ -39,9 +39,7 @@ attr   cancel   cmdalias   - configdb   copy   - count   createlog   define   defmod   @@ -52,7 +50,6 @@ fheminfo   get   getstate   - ?,help   IF   include   inform   @@ -76,7 +73,6 @@ trigger   update   usb   - version   xmllist   @@ -94,14 +90,11 @@