docs: Ignore README.md by default
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 14 Sep 2019 18:30:48 +0000 (19:30 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 14 Sep 2019 18:35:45 +0000 (19:35 +0100)
This makes it more future-proof so that when more files are
added, they are excluded by default. If and when we do get a file
that is intended for this, it's likely such commit will test it
and find it doesn't work and then whitelist accordingly.

Change-Id: I3b8e421724d45e6aaecea58238f430a87cbbe977

maintenance/Doxyfile
maintenance/mwdocgen.php

index 6ea046e..0d1579d 100644 (file)
@@ -143,6 +143,7 @@ EXCLUDE_PATTERNS       = LocalSettings.php \
                          AdminSettings.php \
                          .svn \
                          */.git/* \
+                         */README.md \
                          {{EXCLUDE_PATTERNS}}
 EXCLUDE_SYMBOLS        =
 EXAMPLE_PATH           =
index 4401ea8..3713fdc 100644 (file)
@@ -121,10 +121,6 @@ class MWDocGen extends Maintenance {
                        '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 = [];