|
@@ -3,22 +3,23 @@
|
|
|
"encoding": "utf8", // same as -e utf8
|
|
"encoding": "utf8", // same as -e utf8
|
|
|
"destination": "./o2web/jsdoc/", // same as -d ./out/
|
|
"destination": "./o2web/jsdoc/", // same as -d ./out/
|
|
|
"recurse": true, // same as -r
|
|
"recurse": true, // same as -r
|
|
|
- "template" : "./node_modules/ink-docstrap/template"
|
|
|
|
|
|
|
+ "template" : "./node_modules/better-docs"
|
|
|
//"template": "templates/default" // same as -t templates/default
|
|
//"template": "templates/default" // same as -t templates/default
|
|
|
-// "tutorials": "path/to/tutorials" // same as -u path/to/tutorials
|
|
|
|
|
|
|
+ // "tutorials": "path/to/tutorials" // same as -u path/to/tutorials
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
"tags": {
|
|
"tags": {
|
|
|
- "allowUnknownTags": true
|
|
|
|
|
|
|
+ "allowUnknownTags": ["optional"]
|
|
|
},
|
|
},
|
|
|
"source": {
|
|
"source": {
|
|
|
"include": ["./o2web/source/x_component_process_Xform"],
|
|
"include": ["./o2web/source/x_component_process_Xform"],
|
|
|
- "includePattern": ".+\\.js(doc|x)?$",
|
|
|
|
|
|
|
+ "includePattern": "\\.(jsx|js|ts|tsx)$",
|
|
|
"excludePattern": "(^|\\/|\\\\)_"
|
|
"excludePattern": "(^|\\/|\\\\)_"
|
|
|
},
|
|
},
|
|
|
"plugins": [
|
|
"plugins": [
|
|
|
"plugins/markdown",
|
|
"plugins/markdown",
|
|
|
- "plugins/summarize"
|
|
|
|
|
|
|
+ "plugins/summarize",
|
|
|
|
|
+ "./node_modules/better-docs/typescript"
|
|
|
],
|
|
],
|
|
|
"templates": {
|
|
"templates": {
|
|
|
"cleverLinks": false,
|
|
"cleverLinks": false,
|
|
@@ -43,3 +44,4 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
//执行命令: jsdoc -c ./o2web/jsdoc.conf.json
|
|
//执行命令: jsdoc -c ./o2web/jsdoc.conf.json
|
|
|
|
|
+
|