jsdoc.conf.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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/docdash"
  7. // "tutorials": "./o2web/tutorials" // same as -u path/to/tutorials
  8. },
  9. "tags": {
  10. "allowUnknownTags": true,
  11. "dictionaries": ["jsdoc"]
  12. },
  13. "source": {
  14. "include": ["./o2web/source/x_component_process_Xform","./o2web/source/x_component_cms_Xform"],
  15. "includePattern": ".+\\.js(doc|x)?$",
  16. "excludePattern": "(^|\\/|\\\\)_"
  17. },
  18. "plugins": [
  19. "plugins/markdown",
  20. "plugins/summarize"
  21. ],
  22. "templates": {
  23. "cleverLinks": false,
  24. "monospaceLinks": false,
  25. "default" : {
  26. "useLongnameInNav": false
  27. }
  28. },
  29. "docdash": {
  30. "static": true, // Display the static members inside the navbar
  31. "sort": true, // Sort the methods in the navbar
  32. "sectionOrder": [ // Order the main section in the navbar (default order shown here)
  33. "Classes",
  34. "Modules",
  35. "Externals",
  36. "Events",
  37. "Namespaces",
  38. "Mixins",
  39. "Tutorials",
  40. "Interfaces"
  41. ],
  42. "disqus": "", // Shortname for your disqus (subdomain during site creation)
  43. "openGraph": { // Open Graph options (mostly for Facebook and other sites to easily extract meta information)
  44. "title": "", // Title of the website
  45. "type": "website", // Type of the website
  46. "image": "", // Main image/logo
  47. "site_name": "", // Site name
  48. "url": "" // Main canonical URL for the main page of the site
  49. },
  50. "meta": { // Meta information options (mostly for search engines that have not indexed your site yet)
  51. "title": "", // Also will be used as postfix to actualy page title, prefixed with object/document name
  52. "description": "", // Description of overal contents of your website
  53. "keyword": "" // Keywords for search engines
  54. },
  55. "search": true, // Display seach box above navigation which allows to search/filter navigation items
  56. "collapse": true, // Collapse navigation by default except current object's navigation of the current page
  57. "wrap": true, // Wrap long navigation names instead of trimming them
  58. "typedefs": true, // Include typedefs in menu
  59. "navLevel": 3, // depth level to show in navbar, starting at 0 (false or -1 to disable)
  60. "private": false, // set to false to not show @private in navbar
  61. "removeQuotes": true,// Remove single and double quotes, trim removes only surrounding ones
  62. "scripts": [], // Array of external (or relative local copied using templates.default.staticFiles.include) js or css files to inject into HTML,
  63. "scopeInOutputPath": true, // Add scope from package file (if present) to the output path, true by default.
  64. "nameInOutputPath": true, // Add name from package file to the output path, true by default.
  65. "versionInOutputPath": true // Add package version to the output path, true by default.
  66. }
  67. }
  68. //执行命令: jsdoc -c ./o2web/jsdoc.conf.json