From b100ebcc0512a1007189c4f0e09cf309f92d19a3 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 4 Sep 2019 22:46:31 +0100 Subject: [PATCH] docs: Remove unused PERL_PATH and unused file patterns from Doxyfile * File patterns - Keep only ".php" and ".inc". The other file types either don't exist in this repo, or exist but have 0 parseable doc blocks for Doxygen to find. Also remove README, it leads to various pointless attempts for Doxygen to parse files by this name without any documentable entity in them. Such as; > mediawiki/includes/jobqueue/README:82: warning: Reached end of file > while still inside a nested comment. Nesting level 1. * Remove 'PERL_PATH'. This has been unused since Doxygen 1.8.0, the last build on doc.wikimedia.org from Jenkins uses Doxygen 1.8.13. As of Doxygen 1.8.16 a deprecation warning was also added, https://github.com/doxygen/doxygen/commit/6d1535c. Change-Id: I99bd80f9cf7bae8d37caf0b9325bd30a16020497 --- maintenance/Doxyfile | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/maintenance/Doxyfile b/maintenance/Doxyfile index 2a0504667c..7d961ea4ad 100644 --- a/maintenance/Doxyfile +++ b/maintenance/Doxyfile @@ -144,34 +144,8 @@ WARN_LOGFILE = #--------------------------------------------------------------------------- INPUT = {{INPUT}} INPUT_ENCODING = UTF-8 -FILE_PATTERNS = *.c \ - *.cc \ - *.cxx \ - *.cpp \ - *.c++ \ - *.d \ - *.java \ - *.ii \ - *.ixx \ - *.ipp \ - *.i++ \ - *.inl \ - *.h \ - *.hh \ - *.hxx \ - *.hpp \ - *.h++ \ - *.idl \ - *.odl \ - *.cs \ - *.php \ - *.inc \ - *.m \ - *.mm \ - *.dox \ - *.py \ - *.txt \ - README +FILE_PATTERNS = *.php \ + *.inc RECURSIVE = YES EXCLUDE = {{EXCLUDE}} EXCLUDE_SYMLINKS = YES @@ -343,7 +317,6 @@ GENERATE_TAGFILE = {{OUTPUT_DIRECTORY}}/html/tagfile.xml ALLEXTERNALS = NO EXTERNAL_GROUPS = YES EXTERNAL_PAGES = YES -PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- -- 2.20.1