From: apaskulin Date: Tue, 10 Sep 2019 18:58:32 +0000 (+0000) Subject: docs: Exclude extra markdown files from Doxygen X-Git-Tag: 1.34.0-rc.0~232^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%22%20.%20generer_url_entite%28%24id_rubrique%2C?a=commitdiff_plain;h=fec669239425e2af536d33b690bb81196940f784;p=lhc%2Fweb%2Fwiklou.git docs: Exclude extra markdown files from Doxygen Cleans up the Doxygen file list by excluding markdown files other than the intro, main code of conduct, and /docs directory. docs: Add heading to code of conduct Adds an h1 heading to use as the file listing in Doxygen instead of the file name. Change-Id: Id13eec2670aa4b96275f1e688a29c22c3f38a859 --- diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 498acf76f7..3d9f26ad44 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1 +1,4 @@ +Code of Conduct +=============== + The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct). diff --git a/maintenance/mwdocgen.php b/maintenance/mwdocgen.php index f600f13869..4401ea806e 100644 --- a/maintenance/mwdocgen.php +++ b/maintenance/mwdocgen.php @@ -120,10 +120,17 @@ class MWDocGen extends Maintenance { 'resources/lib', 'images', 'static', + 'tests', + 'includes/libs/Message/README.md', + 'includes/libs/objectcache/README.md', + 'includes/libs/ParamValidator/README.md', + 'maintenance/benchmarks/README.md', + 'resources/src/mediawiki.ui/styleguide.md', ]; $this->excludePatterns = []; if ( $this->hasOption( 'no-extensions' ) ) { $this->excludePatterns[] = 'extensions'; + $this->excludePatterns[] = 'skins'; } $this->doDot = shell_exec( 'which dot' );