jsdoc.conf.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "opts": {
  3. "encoding": "utf8", // same as -e utf8
  4. "destination": "./o2web/jsdoc/", // same as -d ./out/
  5. "recurse": true, // same as -r
  6. "template" : "./node_modules/ink-docstrap/template"
  7. // "tutorials": "./o2web/tutorials" // same as -u path/to/tutorials
  8. },
  9. "tags": {
  10. "allowUnknownTags": true
  11. },
  12. "source": {
  13. "include": ["./o2web/source/x_component_process_Xform"],
  14. "includePattern": ".+\\.js(doc|x)?$",
  15. "excludePattern": "(^|\\/|\\\\)_"
  16. },
  17. "plugins": [
  18. "plugins/markdown",
  19. "plugins/summarize"
  20. ],
  21. "templates": {
  22. "cleverLinks": false,
  23. "monospaceLinks": false,
  24. "dateFormat": "YYYY-MM-dd",
  25. "outputSourceFiles": true,
  26. "outputSourcePath": true,
  27. "systemName": "O2前台组件API",
  28. "footer": "",
  29. "copyright": "o2 group",
  30. "navType": "vertical",
  31. "theme": "cosmo", //readable lumen cosmo
  32. "linenums": true,
  33. "collapseSymbols": false,
  34. "inverseNav": true,
  35. "protocol": "html://",
  36. "methodHeadingReturns": false
  37. },
  38. "markdown": {
  39. "parser": "gfm",
  40. "hardwrap": true
  41. }
  42. }
  43. //执行命令: jsdoc -c ./o2web/jsdoc.conf.json