mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_update.pm: commandref/exclude-from-update (Forum #34450)
git-svn-id: https://svn.fhem.de/fhem/trunk@8189 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
320f69de54
commit
cd718e50b0
@ -153,7 +153,8 @@ doUpdate($$)
|
|||||||
my $cj = "$root/contrib/commandref_join.pl";
|
my $cj = "$root/contrib/commandref_join.pl";
|
||||||
if(-f $cj &&
|
if(-f $cj &&
|
||||||
-f "$root/docs/commandref_frame.html" &&
|
-f "$root/docs/commandref_frame.html" &&
|
||||||
-w "$root/docs/commandref.html") {
|
-w "$root/docs/commandref.html" &&
|
||||||
|
(AttrVal('global','exclude_from_update','') !~ m/commandref/) ) {
|
||||||
$canJoin = 1;
|
$canJoin = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -500,7 +501,9 @@ upd_initRestoreDirs($)
|
|||||||
<a name="exclude_from_update"></a>
|
<a name="exclude_from_update"></a>
|
||||||
<li>exclude_from_update<br>
|
<li>exclude_from_update<br>
|
||||||
Contains a space separated list of fileNames (regexps) which will be
|
Contains a space separated list of fileNames (regexps) which will be
|
||||||
excluded by an update.<br>
|
excluded by an update. The special value commandref will disable calling
|
||||||
|
commandref_join at the end, i.e commandref.html will be out of date.
|
||||||
|
The module-only documentation is not affected and is up-to-date.<br>
|
||||||
Example:<br>
|
Example:<br>
|
||||||
<ul>
|
<ul>
|
||||||
attr global exclude_from_update 21_OWTEMP.pm FS20.off.png
|
attr global exclude_from_update 21_OWTEMP.pm FS20.off.png
|
||||||
@ -589,6 +592,10 @@ upd_initRestoreDirs($)
|
|||||||
<li>exclude_from_update<br>
|
<li>exclude_from_update<br>
|
||||||
Enthält eine Liste durch Leerzeichen getrennter Dateinamen
|
Enthält eine Liste durch Leerzeichen getrennter Dateinamen
|
||||||
(regexp), welche nicht im update berücksichtigt werden.<br>
|
(regexp), welche nicht im update berücksichtigt werden.<br>
|
||||||
|
Falls der Wert commandref enthält, dann wird commandref_join.pl
|
||||||
|
nach dem update nicht aufgerufen, d.h. die Gesamtdokumentation ist
|
||||||
|
nicht mehr aktuell. Die Moduldokumentation bleibt weiterhin aktuell.
|
||||||
|
<br>
|
||||||
Beispiel:<br>
|
Beispiel:<br>
|
||||||
<ul>
|
<ul>
|
||||||
attr global exclude_from_update 21_OWTEMP.pm temp4hum4.gplot
|
attr global exclude_from_update 21_OWTEMP.pm temp4hum4.gplot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user