X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fmwdocgen.php;h=49eae4a539a0b44885eb0f44fa1b8d09095102ff;hb=937ae6444a683a3b0aaf14c21f529ad0e91419ef;hp=9fb1314228ec5593ede3b82ec7a89702ba856961;hpb=5c5fb511c70346a660cb6aa388cc677e11d3bdab;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/mwdocgen.php b/maintenance/mwdocgen.php index 9fb1314228..49eae4a539 100644 --- a/maintenance/mwdocgen.php +++ b/maintenance/mwdocgen.php @@ -79,7 +79,7 @@ class MWDocGen extends Maintenance { $this->input = ''; $inputs = explode( ',', $this->getOption( 'file', '' ) ); - foreach( $inputs as $input ) { + foreach ( $inputs as $input ) { # Doxygen inputs are space separted and double quoted $this->input .= " \"$IP/$input\""; } @@ -91,6 +91,7 @@ class MWDocGen extends Maintenance { $this->template = $IP . '/maintenance/Doxyfile'; $this->excludes = array( 'vendor', + 'node_modules', 'images', 'static', ); @@ -152,15 +153,13 @@ You might want to delete the temporary file: --------------------------------------------------- TEXT - ); + ); if ( $exitcode !== 0 ) { $this->error( "Something went wrong (exit: $exitcode)\n", $exitcode ); } - } - } $maintClass = 'MWDocGen';