mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 09:48:18 +00:00
df6b946ceb
Add "tsdocs" grunt task to generate d.ts files with comments.
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"tags": {
|
|
"allowUnknownTags": true
|
|
},
|
|
"source": {
|
|
"include": [
|
|
"./docs/pixi-jsdoc.js",
|
|
"./src/Phaser.js",
|
|
"./src/animation/",
|
|
"./src/core/",
|
|
"./src/gameobjects/",
|
|
"./src/geom/",
|
|
"./src/input/",
|
|
"./src/loader/",
|
|
"./src/math/",
|
|
"./src/net/",
|
|
"./src/particles/",
|
|
"./src/physics/",
|
|
"./src/sound/",
|
|
"./src/system/",
|
|
"./src/tilemap/",
|
|
"./src/time/",
|
|
"./src/tween/",
|
|
"./src/utils/"
|
|
],
|
|
"includePattern": ".+\\.js(doc)?$",
|
|
"excludePattern": "(^|\\/|\\\\)_"
|
|
},
|
|
"plugins": [
|
|
"./tasks/jsdoc-plugins/namealias",
|
|
"./tasks/jsdoc-plugins/filterpixi",
|
|
"./tasks/jsdoc-plugins/proptomember",
|
|
"./tasks/jsdoc-plugins/shortlinks"
|
|
],
|
|
"markdown" : {
|
|
"parser" : "gfm",
|
|
"hardwrap" : true
|
|
},
|
|
"opts": {
|
|
"encoding": "utf8",
|
|
"recurse": true,
|
|
"private": true,
|
|
"lenient": true,
|
|
"destination": "./out/docs.json",
|
|
"template": "./resources/jsdoc Export JSON/template"
|
|
}
|
|
}
|