X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Fmwdocgen.php;h=00a15e560d76918ff340842259e1561c2ce8d7f8;hb=26760fc8569d8e55081b5334cfa6fd5b816d2e4f;hp=9fb1314228ec5593ede3b82ec7a89702ba856961;hpb=d98e367d458188241cc79bdbe588344694e3c3d3;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/mwdocgen.php b/maintenance/mwdocgen.php index 9fb1314228..00a15e560d 100644 --- a/maintenance/mwdocgen.php +++ b/maintenance/mwdocgen.php @@ -79,18 +79,18 @@ 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\""; } $this->output = $this->getOption( 'output', "$IP/docs" ); - $this->inputFilter = wfShellWikiCmd( - $IP . '/maintenance/mwdoc-filter.php' ); + $this->inputFilter = wfShellWikiCmd( $IP . '/maintenance/mwdoc-filter.php' ); $this->template = $IP . '/maintenance/Doxyfile'; $this->excludes = array( 'vendor', + 'node_modules', 'images', 'static', ); @@ -152,15 +152,13 @@ You might want to delete the temporary file: --------------------------------------------------- TEXT - ); + ); if ( $exitcode !== 0 ) { $this->error( "Something went wrong (exit: $exitcode)\n", $exitcode ); } - } - } $maintClass = 'MWDocGen';