2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

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
This commit is contained in:
rudolfkoenig 2016-01-17 06:35:00 +00:00
parent 66717398fc
commit 689d54a36c
2 changed files with 7 additions and 21 deletions

View File

@ -33,7 +33,10 @@ if(!$verify) {
$modIdx{$l} = "device";
open(MOD, "$modDir/$of") || die("Cant open $modDir/$l");
while(my $cl = <MOD>) {
$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 = <MOD>; # 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);
}

View File

@ -39,9 +39,7 @@
<a href="#attr">attr</a> &nbsp;
<a href="#cancel">cancel</a> &nbsp;
<a href="#cmdalias">cmdalias</a> &nbsp;
<a href="#configdb">configdb</a> &nbsp;
<a href="#copy">copy</a> &nbsp;
<a href="#count">count</a> &nbsp;
<a href="#createlog">createlog</a> &nbsp;
<a href="#define">define</a> &nbsp;
<a href="#defmod">defmod</a> &nbsp;
@ -52,7 +50,6 @@
<a href="#fheminfo">fheminfo</a> &nbsp;
<a href="#get">get</a> &nbsp;
<a href="#getstate">getstate</a> &nbsp;
<a href="#help">?,help</a> &nbsp;
<a href="#IF">IF</a> &nbsp;
<a href="#include">include</a> &nbsp;
<a href="#inform">inform</a> &nbsp;
@ -76,7 +73,6 @@
<a href="#trigger">trigger</a> &nbsp;
<a href="#update">update</a> &nbsp;
<a href="#usb">usb</a> &nbsp;
<a href="#version">version</a> &nbsp;
<a href="#XmlList">xmllist</a> &nbsp;
</ul>
@ -94,14 +90,11 @@
<ul>
<!-- header:helper -->
<a href="#Calendar">Calendar</a> &nbsp;
<a href="#configDB">configDB</a> &nbsp;
<a href="#CustomReadings">CustomReadings</a> &nbsp;
<a href="#DOIF">DOIF</a> &nbsp;
<a href="#Dashboard">Dashboard</a> &nbsp;
<a href="#DbLog">DbLog</a> &nbsp;
<a href="#dewpoint">dewpoint</a> &nbsp;
<a href="#FB_CALLMONITOR">FB_CALLMONITOR</a> &nbsp;
<a href="#FB_CALLLIST">FB_CALLLIST</a> &nbsp;
<a href="#FLOORPLAN">FLOORPLAN</a> &nbsp;
<a href="#GEOFANCY">GEOFANCY</a> &nbsp;
<a href="#GUEST">GUEST</a> &nbsp;
@ -111,26 +104,16 @@
<a href="#HMinfo">HMinfo</a> &nbsp;
<a href="#HourCounter">HourCounter</a> &nbsp;
<a href="#InfoPanel">InfoPanel</a> &nbsp;
<a href="#LightScene">LightScene</a> &nbsp;
<a href="#logProxy">logProxy</a> &nbsp;
<a href="#mailcheck">mailcheck</a> &nbsp;
<a href="#MaxScanner">MaxScanner</a> &nbsp;
<a href="#msgConfig">msgConfig</a> &nbsp;
<a href="#PRESENCE">PRESENCE</a> &nbsp;
<a href="#PachLog">PachLog</a> &nbsp;
<a href="#RSS">RSS</a> &nbsp;
<a href="#RandomTimer">RandomTimer</a> &nbsp;
<a href="#rain">rain</a> &nbsp;
<a href="#readingsGroup">readingsGroup</a> &nbsp;
<a href="#readingsHistory">readingsHistory</a> &nbsp;
<a href="#readingsProxy">readingsProxy</a> &nbsp;
<a href="#remotecontrol">remotecontrol</a> &nbsp;
<a href="#rssFeed">rssFeed</a> &nbsp;
<a href="#RESIDENTS">RESIDENTS</a> &nbsp;
<a href="#ROOMMATE">ROOMMATE</a> &nbsp;
<a href="#SUNRISE_EL">SUNRISE_EL</a> &nbsp;
<a href="#SYSSTAT">SYSSTAT</a> &nbsp;
<a href="#speedtest">speedtest</a> &nbsp;
<a href="#statistics">statistics</a> &nbsp;
<a href="#Twilight">Twilight</a> &nbsp;
<a href="#THRESHOLD">THRESHOLD</a> &nbsp;