Skip to content

Commit

Permalink
docs: Exclude extra markdown files from Doxygen
Browse files Browse the repository at this point in the history
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
  • Loading branch information
apaskulin committed Sep 13, 2019
1 parent 5a296a1 commit fec6692
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -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).
7 changes: 7 additions & 0 deletions maintenance/mwdocgen.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,17 @@ protected function init() {
'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' );
Expand Down

0 comments on commit fec6692

Please sign in to comment.