Hygiene: make JSDoc configs consistent
Make the Popups, MobileFrontend, and MinervaNeue JSDocs consistent. For MinervaNeue: - Replace "packageX" option which was unfound in the JSDoc repo with "package". - Remove redundant default configurations. - Replace tabs with spaces since that's the standard in this repo. http://usejsdoc.org/about-configuring-jsdoc.html http://usejsdoc.org/about-commandline.html http://usejsdoc.org/about-configuring-default-template.html Bug: T188261 Change-Id: Ic767e78ceee35400bdd9bb6f51c865e475f8f337
This commit is contained in:
parent
749ccf22c2
commit
0e28238027
|
@ -1,6 +1,5 @@
|
|||
# JSDuck output
|
||||
/docs/
|
||||
|
||||
/docs/js/
|
||||
/docs/php/
|
||||
/node_modules/
|
||||
/vendor
|
||||
/composer.lock
|
||||
|
|
36
jsdoc.json
36
jsdoc.json
|
@ -1,22 +1,18 @@
|
|||
{
|
||||
"opts": {
|
||||
"encoding": "utf8",
|
||||
"destination": "docs",
|
||||
"packageX": "package.json",
|
||||
"readme": "README.md",
|
||||
"recurse": true
|
||||
},
|
||||
"plugins": [],
|
||||
"recurseDepth": 10,
|
||||
"source": {
|
||||
"include": [ "resources" ],
|
||||
"includePattern": ".+\\.js$"
|
||||
},
|
||||
"tags": {},
|
||||
"templates": {
|
||||
"cleverLinks": true,
|
||||
"default": {
|
||||
"useLongnameInNav": true
|
||||
}
|
||||
}
|
||||
"opts": {
|
||||
"destination": "docs/js",
|
||||
"package": "package.json",
|
||||
"pedantic": true,
|
||||
"readme": "README.md",
|
||||
"recurse": true
|
||||
},
|
||||
"source": {
|
||||
"include": [ "resources" ]
|
||||
},
|
||||
"templates": {
|
||||
"cleverLinks": true,
|
||||
"default": {
|
||||
"useLongnameInNav": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue