From 9696b1d800d117b5ad3817d9c7a47908759b3641 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sat, 14 Sep 2019 19:30:48 +0100 Subject: [PATCH] docs: Ignore README.md by default 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 | 1 + maintenance/mwdocgen.php | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/maintenance/Doxyfile b/maintenance/Doxyfile index 6ea046e9f5..0d1579d33f 100644 --- a/maintenance/Doxyfile +++ b/maintenance/Doxyfile @@ -143,6 +143,7 @@ EXCLUDE_PATTERNS = LocalSettings.php \ AdminSettings.php \ .svn \ */.git/* \ + */README.md \ {{EXCLUDE_PATTERNS}} EXCLUDE_SYMBOLS = EXAMPLE_PATH = diff --git a/maintenance/mwdocgen.php b/maintenance/mwdocgen.php index 4401ea806e..3713fdce31 100644 --- a/maintenance/mwdocgen.php +++ b/maintenance/mwdocgen.php @@ -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 = []; -- 2.20.1