@xpack/doxygen2docusaurus 1.1.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/README.md +3 -3
  2. package/dist/cli/main.d.ts +6 -0
  3. package/dist/cli/main.d.ts.map +1 -1
  4. package/dist/cli/main.js +7 -1
  5. package/dist/cli/main.js.map +1 -1
  6. package/dist/docusaurus/cli-options.d.ts +266 -38
  7. package/dist/docusaurus/cli-options.d.ts.map +1 -1
  8. package/dist/docusaurus/cli-options.js +252 -43
  9. package/dist/docusaurus/cli-options.js.map +1 -1
  10. package/dist/docusaurus/generator.d.ts +179 -4
  11. package/dist/docusaurus/generator.d.ts.map +1 -1
  12. package/dist/docusaurus/generator.js +215 -45
  13. package/dist/docusaurus/generator.js.map +1 -1
  14. package/dist/docusaurus/renderers/descriptiontype.d.ts +417 -0
  15. package/dist/docusaurus/renderers/descriptiontype.d.ts.map +1 -1
  16. package/dist/docusaurus/renderers/descriptiontype.js +417 -0
  17. package/dist/docusaurus/renderers/descriptiontype.js.map +1 -1
  18. package/dist/docusaurus/renderers/docinternalstype.d.ts +132 -0
  19. package/dist/docusaurus/renderers/docinternalstype.d.ts.map +1 -1
  20. package/dist/docusaurus/renderers/docinternalstype.js +132 -0
  21. package/dist/docusaurus/renderers/docinternalstype.js.map +1 -1
  22. package/dist/docusaurus/renderers/doclisttype.d.ts +22 -0
  23. package/dist/docusaurus/renderers/doclisttype.d.ts.map +1 -1
  24. package/dist/docusaurus/renderers/doclisttype.js +22 -2
  25. package/dist/docusaurus/renderers/doclisttype.js.map +1 -1
  26. package/dist/docusaurus/renderers/doctabletype.d.ts +88 -0
  27. package/dist/docusaurus/renderers/doctabletype.d.ts.map +1 -1
  28. package/dist/docusaurus/renderers/doctabletype.js +88 -0
  29. package/dist/docusaurus/renderers/doctabletype.js.map +1 -1
  30. package/dist/docusaurus/renderers/doctitletype.d.ts +22 -0
  31. package/dist/docusaurus/renderers/doctitletype.d.ts.map +1 -1
  32. package/dist/docusaurus/renderers/doctitletype.js +22 -0
  33. package/dist/docusaurus/renderers/doctitletype.js.map +1 -1
  34. package/dist/docusaurus/renderers/docvariablelisttype.d.ts +44 -0
  35. package/dist/docusaurus/renderers/docvariablelisttype.d.ts.map +1 -1
  36. package/dist/docusaurus/renderers/docvariablelisttype.js +44 -0
  37. package/dist/docusaurus/renderers/docvariablelisttype.js.map +1 -1
  38. package/dist/docusaurus/renderers/docxrefsecttype.d.ts +22 -0
  39. package/dist/docusaurus/renderers/docxrefsecttype.d.ts.map +1 -1
  40. package/dist/docusaurus/renderers/docxrefsecttype.js +22 -0
  41. package/dist/docusaurus/renderers/docxrefsecttype.js.map +1 -1
  42. package/dist/docusaurus/renderers/element-renderer-base.d.ts +74 -0
  43. package/dist/docusaurus/renderers/element-renderer-base.d.ts.map +1 -1
  44. package/dist/docusaurus/renderers/element-renderer-base.js +52 -0
  45. package/dist/docusaurus/renderers/element-renderer-base.js.map +1 -1
  46. package/dist/docusaurus/renderers/inctype.d.ts +23 -0
  47. package/dist/docusaurus/renderers/inctype.d.ts.map +1 -1
  48. package/dist/docusaurus/renderers/inctype.js +23 -0
  49. package/dist/docusaurus/renderers/inctype.js.map +1 -1
  50. package/dist/docusaurus/renderers/linkedtexttype.d.ts +22 -0
  51. package/dist/docusaurus/renderers/linkedtexttype.d.ts.map +1 -1
  52. package/dist/docusaurus/renderers/linkedtexttype.js +22 -0
  53. package/dist/docusaurus/renderers/linkedtexttype.js.map +1 -1
  54. package/dist/docusaurus/renderers/listingtype.d.ts +52 -0
  55. package/dist/docusaurus/renderers/listingtype.d.ts.map +1 -1
  56. package/dist/docusaurus/renderers/listingtype.js +66 -2
  57. package/dist/docusaurus/renderers/listingtype.js.map +1 -1
  58. package/dist/docusaurus/renderers/paramtype.d.ts +22 -0
  59. package/dist/docusaurus/renderers/paramtype.d.ts.map +1 -1
  60. package/dist/docusaurus/renderers/paramtype.js +22 -0
  61. package/dist/docusaurus/renderers/paramtype.js.map +1 -1
  62. package/dist/docusaurus/renderers/referencetype.d.ts +23 -0
  63. package/dist/docusaurus/renderers/referencetype.d.ts.map +1 -1
  64. package/dist/docusaurus/renderers/referencetype.js +23 -2
  65. package/dist/docusaurus/renderers/referencetype.js.map +1 -1
  66. package/dist/docusaurus/renderers/reftexttype.d.ts +22 -0
  67. package/dist/docusaurus/renderers/reftexttype.d.ts.map +1 -1
  68. package/dist/docusaurus/renderers/reftexttype.js +22 -0
  69. package/dist/docusaurus/renderers/reftexttype.js.map +1 -1
  70. package/dist/docusaurus/renderers/reftype.d.ts +22 -0
  71. package/dist/docusaurus/renderers/reftype.d.ts.map +1 -1
  72. package/dist/docusaurus/renderers/reftype.js +22 -0
  73. package/dist/docusaurus/renderers/reftype.js.map +1 -1
  74. package/dist/docusaurus/renderers/renderers.d.ts +151 -0
  75. package/dist/docusaurus/renderers/renderers.d.ts.map +1 -1
  76. package/dist/docusaurus/renderers/renderers.js +151 -0
  77. package/dist/docusaurus/renderers/renderers.js.map +1 -1
  78. package/dist/docusaurus/renderers/substringtype.d.ts +22 -0
  79. package/dist/docusaurus/renderers/substringtype.d.ts.map +1 -1
  80. package/dist/docusaurus/renderers/substringtype.js +22 -0
  81. package/dist/docusaurus/renderers/substringtype.js.map +1 -1
  82. package/dist/docusaurus/renderers/tableofcontentstype.d.ts +22 -0
  83. package/dist/docusaurus/renderers/tableofcontentstype.d.ts.map +1 -1
  84. package/dist/docusaurus/renderers/tableofcontentstype.js +22 -0
  85. package/dist/docusaurus/renderers/tableofcontentstype.js.map +1 -1
  86. package/dist/docusaurus/types.d.ts +114 -8
  87. package/dist/docusaurus/types.d.ts.map +1 -1
  88. package/dist/docusaurus/types.js.map +1 -1
  89. package/dist/docusaurus/utils.d.ts +214 -0
  90. package/dist/docusaurus/utils.d.ts.map +1 -1
  91. package/dist/docusaurus/utils.js +214 -0
  92. package/dist/docusaurus/utils.js.map +1 -1
  93. package/dist/docusaurus/view-model/classes-vm.d.ts +139 -2
  94. package/dist/docusaurus/view-model/classes-vm.d.ts.map +1 -1
  95. package/dist/docusaurus/view-model/classes-vm.js +147 -6
  96. package/dist/docusaurus/view-model/classes-vm.js.map +1 -1
  97. package/dist/docusaurus/view-model/collection-base.d.ts +122 -2
  98. package/dist/docusaurus/view-model/collection-base.d.ts.map +1 -1
  99. package/dist/docusaurus/view-model/collection-base.js +78 -0
  100. package/dist/docusaurus/view-model/collection-base.js.map +1 -1
  101. package/dist/docusaurus/view-model/compound-base-vm.d.ts +134 -19
  102. package/dist/docusaurus/view-model/compound-base-vm.d.ts.map +1 -1
  103. package/dist/docusaurus/view-model/compound-base-vm.js +122 -26
  104. package/dist/docusaurus/view-model/compound-base-vm.js.map +1 -1
  105. package/dist/docusaurus/view-model/description-anchors.d.ts +58 -0
  106. package/dist/docusaurus/view-model/description-anchors.d.ts.map +1 -1
  107. package/dist/docusaurus/view-model/description-anchors.js +58 -0
  108. package/dist/docusaurus/view-model/description-anchors.js.map +1 -1
  109. package/dist/docusaurus/view-model/files-and-folders-vm.d.ts +249 -2
  110. package/dist/docusaurus/view-model/files-and-folders-vm.d.ts.map +1 -1
  111. package/dist/docusaurus/view-model/files-and-folders-vm.js +250 -4
  112. package/dist/docusaurus/view-model/files-and-folders-vm.js.map +1 -1
  113. package/dist/docusaurus/view-model/groups-vm.d.ts +150 -2
  114. package/dist/docusaurus/view-model/groups-vm.d.ts.map +1 -1
  115. package/dist/docusaurus/view-model/groups-vm.js +153 -5
  116. package/dist/docusaurus/view-model/groups-vm.js.map +1 -1
  117. package/dist/docusaurus/view-model/members-vm.d.ts +552 -0
  118. package/dist/docusaurus/view-model/members-vm.d.ts.map +1 -1
  119. package/dist/docusaurus/view-model/members-vm.js +552 -4
  120. package/dist/docusaurus/view-model/members-vm.js.map +1 -1
  121. package/dist/docusaurus/view-model/namespaces-vm.d.ts +201 -2
  122. package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
  123. package/dist/docusaurus/view-model/namespaces-vm.js +202 -4
  124. package/dist/docusaurus/view-model/namespaces-vm.js.map +1 -1
  125. package/dist/docusaurus/view-model/options.d.ts +43 -0
  126. package/dist/docusaurus/view-model/options.d.ts.map +1 -1
  127. package/dist/docusaurus/view-model/options.js +43 -0
  128. package/dist/docusaurus/view-model/options.js.map +1 -1
  129. package/dist/docusaurus/view-model/pages-vm.d.ts +117 -2
  130. package/dist/docusaurus/view-model/pages-vm.d.ts.map +1 -1
  131. package/dist/docusaurus/view-model/pages-vm.js +119 -4
  132. package/dist/docusaurus/view-model/pages-vm.js.map +1 -1
  133. package/dist/docusaurus/view-model/tree-entries-vm.d.ts +135 -15
  134. package/dist/docusaurus/view-model/tree-entries-vm.d.ts.map +1 -1
  135. package/dist/docusaurus/view-model/tree-entries-vm.js +136 -16
  136. package/dist/docusaurus/view-model/tree-entries-vm.js.map +1 -1
  137. package/dist/docusaurus/view-model/view-model.d.ts +119 -0
  138. package/dist/docusaurus/view-model/view-model.d.ts.map +1 -1
  139. package/dist/docusaurus/view-model/view-model.js +119 -0
  140. package/dist/docusaurus/view-model/view-model.js.map +1 -1
  141. package/dist/docusaurus/workspace.d.ts +106 -0
  142. package/dist/docusaurus/workspace.d.ts.map +1 -1
  143. package/dist/docusaurus/workspace.js +107 -1
  144. package/dist/docusaurus/workspace.js.map +1 -1
  145. package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts +485 -0
  146. package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
  147. package/dist/doxygen/data-model/compounds/compounddef-dm.js +485 -0
  148. package/dist/doxygen/data-model/compounds/compounddef-dm.js.map +1 -1
  149. package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts +120 -0
  150. package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts.map +1 -1
  151. package/dist/doxygen/data-model/compounds/compoundreftype-dm.js +98 -0
  152. package/dist/doxygen/data-model/compounds/compoundreftype-dm.js.map +1 -1
  153. package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts +2705 -0
  154. package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts.map +1 -1
  155. package/dist/doxygen/data-model/compounds/descriptiontype-dm.js +2677 -47
  156. package/dist/doxygen/data-model/compounds/descriptiontype-dm.js.map +1 -1
  157. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts +165 -0
  158. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts.map +1 -1
  159. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js +165 -0
  160. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js.map +1 -1
  161. package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts +70 -0
  162. package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts.map +1 -1
  163. package/dist/doxygen/data-model/compounds/doxygentype-dm.js +70 -0
  164. package/dist/doxygen/data-model/compounds/doxygentype-dm.js.map +1 -1
  165. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts +78 -0
  166. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts.map +1 -1
  167. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js +78 -0
  168. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js.map +1 -1
  169. package/dist/doxygen/data-model/compounds/inctype-dm.d.ts +107 -0
  170. package/dist/doxygen/data-model/compounds/inctype-dm.d.ts.map +1 -1
  171. package/dist/doxygen/data-model/compounds/inctype-dm.js +107 -0
  172. package/dist/doxygen/data-model/compounds/inctype-dm.js.map +1 -1
  173. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts +123 -0
  174. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts.map +1 -1
  175. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js +123 -0
  176. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js.map +1 -1
  177. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts +70 -0
  178. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts.map +1 -1
  179. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js +70 -1
  180. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js.map +1 -1
  181. package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts +156 -0
  182. package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts.map +1 -1
  183. package/dist/doxygen/data-model/compounds/locationtype-dm.js +156 -5
  184. package/dist/doxygen/data-model/compounds/locationtype-dm.js.map +1 -1
  185. package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts +433 -0
  186. package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts.map +1 -1
  187. package/dist/doxygen/data-model/compounds/memberdeftype-dm.js +417 -6
  188. package/dist/doxygen/data-model/compounds/memberdeftype-dm.js.map +1 -1
  189. package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts +135 -0
  190. package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts.map +1 -1
  191. package/dist/doxygen/data-model/compounds/memberreftype-dm.js +136 -4
  192. package/dist/doxygen/data-model/compounds/memberreftype-dm.js.map +1 -1
  193. package/dist/doxygen/data-model/compounds/membertype-dm.d.ts +95 -0
  194. package/dist/doxygen/data-model/compounds/membertype-dm.d.ts.map +1 -1
  195. package/dist/doxygen/data-model/compounds/membertype-dm.js +76 -4
  196. package/dist/doxygen/data-model/compounds/membertype-dm.js.map +1 -1
  197. package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts +158 -0
  198. package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts.map +1 -1
  199. package/dist/doxygen/data-model/compounds/paramtype-dm.js +158 -1
  200. package/dist/doxygen/data-model/compounds/paramtype-dm.js.map +1 -1
  201. package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts +130 -0
  202. package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts.map +1 -1
  203. package/dist/doxygen/data-model/compounds/referencetype-dm.js +130 -2
  204. package/dist/doxygen/data-model/compounds/referencetype-dm.js.map +1 -1
  205. package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts +120 -0
  206. package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts.map +1 -1
  207. package/dist/doxygen/data-model/compounds/reftexttype-dm.js +106 -3
  208. package/dist/doxygen/data-model/compounds/reftexttype-dm.js.map +1 -1
  209. package/dist/doxygen/data-model/compounds/reftype-dm.d.ts +247 -0
  210. package/dist/doxygen/data-model/compounds/reftype-dm.d.ts.map +1 -1
  211. package/dist/doxygen/data-model/compounds/reftype-dm.js +247 -3
  212. package/dist/doxygen/data-model/compounds/reftype-dm.js.map +1 -1
  213. package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts +99 -0
  214. package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts.map +1 -1
  215. package/dist/doxygen/data-model/compounds/reimplementtype-dm.js +99 -2
  216. package/dist/doxygen/data-model/compounds/reimplementtype-dm.js.map +1 -1
  217. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts +159 -0
  218. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts.map +1 -1
  219. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js +159 -3
  220. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js.map +1 -1
  221. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts +255 -0
  222. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts.map +1 -1
  223. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js +255 -6
  224. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js.map +1 -1
  225. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts +60 -0
  226. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts.map +1 -1
  227. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js +60 -1
  228. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js.map +1 -1
  229. package/dist/doxygen/data-model/data-model.d.ts +86 -2
  230. package/dist/doxygen/data-model/data-model.d.ts.map +1 -1
  231. package/dist/doxygen/data-model/data-model.js +86 -4
  232. package/dist/doxygen/data-model/data-model.js.map +1 -1
  233. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts +109 -0
  234. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts.map +1 -1
  235. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js +84 -2
  236. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js.map +1 -1
  237. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts +81 -0
  238. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts.map +1 -1
  239. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js +81 -3
  240. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js.map +1 -1
  241. package/dist/doxygen/data-model/doxygen-xml-parser.d.ts +24 -7
  242. package/dist/doxygen/data-model/doxygen-xml-parser.d.ts.map +1 -1
  243. package/dist/doxygen/data-model/doxygen-xml-parser.js +24 -22
  244. package/dist/doxygen/data-model/doxygen-xml-parser.js.map +1 -1
  245. package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts +92 -0
  246. package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts.map +1 -1
  247. package/dist/doxygen/data-model/index/indexcompoundtype-dm.js +79 -2
  248. package/dist/doxygen/data-model/index/indexcompoundtype-dm.js.map +1 -1
  249. package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts +76 -0
  250. package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts.map +1 -1
  251. package/dist/doxygen/data-model/index/indexdoxygentype-dm.js +76 -3
  252. package/dist/doxygen/data-model/index/indexdoxygentype-dm.js.map +1 -1
  253. package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts +79 -0
  254. package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts.map +1 -1
  255. package/dist/doxygen/data-model/index/indexmembertype-dm.js +66 -2
  256. package/dist/doxygen/data-model/index/indexmembertype-dm.js.map +1 -1
  257. package/dist/doxygen/data-model/types.d.ts +96 -1
  258. package/dist/doxygen/data-model/types.d.ts.map +1 -1
  259. package/dist/doxygen/data-model/types.js +37 -0
  260. package/dist/doxygen/data-model/types.js.map +1 -1
  261. package/dist/doxygen2docusaurus.d.ts +3675 -48
  262. package/package.json +9 -6
  263. /package/{template → templates}/css/custom.css +0 -0
  264. /package/{template → templates}/img/README.md +0 -0
  265. /package/{template → templates}/img/document-svgrepo-com.svg +0 -0
  266. /package/{template → templates}/img/folder-svgrepo-com.svg +0 -0
package/README.md CHANGED
@@ -2,19 +2,19 @@
2
2
  [![NPM Version](https://img.shields.io/npm/v/@xpack/doxygen2docusaurus?color=blue)](https://www.npmjs.com/package/@xpack/doxygen2docusaurus/)
3
3
  [![license](https://img.shields.io/github/license/xpack/doxygen2docusaurus-cli-ts)](https://github.com/xpack/doxygen2docusaurus-cli-ts/blob/master/LICENSE)
4
4
 
5
- # The doxygen2docusaurus
5
+ # The Doxygen Documentation Converter
6
6
 
7
7
  A Node.js CLI application to convert Doxygen XML files into Docusaurus documentation.
8
8
 
9
9
  ## Project documentation
10
10
 
11
11
  For information on how to install and use this project, please refer to the
12
- [project website](https://xpack.github.io/doxygen2docusaurus-cli-ts/).
12
+ [project website](https://xpack.github.io/doxygen2docusaurus/).
13
13
 
14
14
  ## Project source
15
15
 
16
16
  The source code of the current release is available on
17
- [GitHub tag v1.0.2 tree](https://github.com/xpack/doxygen2docusaurus-cli-ts/tree/v1.0.2).
17
+ [GitHub tag v1.1.0 tree](https://github.com/xpack/doxygen2docusaurus-cli-ts/tree/v1.1.0).
18
18
 
19
19
  ## License
20
20
 
@@ -1,6 +1,12 @@
1
1
  /**
2
2
  * Main entry point for the doxygen2docusaurus CLI tool.
3
3
  *
4
+ * @remarks
5
+ * Orchestrates the complete conversion process from Doxygen XML to Docusaurus
6
+ * documentation. Handles command-line argument parsing, configuration loading,
7
+ * data model creation, workspace initialisation, and documentation generation.
8
+ * Provides timing information and appropriate exit codes for integration.
9
+ *
4
10
  * @param argv - Command line arguments array
5
11
  * @returns Promise that resolves to the exit code (0 for success, 1 for error)
6
12
  *
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":"AA8BA;;;;;;;GAOG;AACH,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA2E1D"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;GAaG;AACH,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA2E1D"}
package/dist/cli/main.js CHANGED
@@ -12,6 +12,7 @@
12
12
  // import assert from 'node:assert'
13
13
  import * as path from 'node:path';
14
14
  import * as fs from 'node:fs/promises';
15
+ import { fileURLToPath } from 'node:url';
15
16
  // import * as util from 'node:util'
16
17
  // https://www.npmjs.com/package/commander
17
18
  import { CliOptions } from '../docusaurus/cli-options.js';
@@ -19,13 +20,18 @@ import { formatDuration } from '../docusaurus/utils.js';
19
20
  import { DataModel } from '../doxygen/data-model/data-model.js';
20
21
  import { DocusaurusGenerator } from '../docusaurus/generator.js';
21
22
  import { Workspace } from '../docusaurus/workspace.js';
22
- import { fileURLToPath } from 'node:url';
23
23
  // https://www.npmjs.com/package/commander
24
24
  import { Command } from 'commander';
25
25
  // ----------------------------------------------------------------------------
26
26
  /**
27
27
  * Main entry point for the doxygen2docusaurus CLI tool.
28
28
  *
29
+ * @remarks
30
+ * Orchestrates the complete conversion process from Doxygen XML to Docusaurus
31
+ * documentation. Handles command-line argument parsing, configuration loading,
32
+ * data model creation, workspace initialisation, and documentation generation.
33
+ * Provides timing information and appropriate exit codes for integration.
34
+ *
29
35
  * @param argv - Command line arguments array
30
36
  * @returns Promise that resolves to the exit code (0 for success, 1 for error)
31
37
  *
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAE/E,mCAAmC;AACnC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AACjC,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAA;AACtC,oCAAoC;AAEpC,0CAA0C;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAA;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,0CAA0C;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,+EAA+E;AAE/E;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,IAAI,CAAC,IAAc;IACvC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;IAE5B,uCAAuC;IACvC,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;IAC9D,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAC/B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EACrC,cAAc,CACf,CAAA;IACD,MAAM,kBAAkB,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAA;IAE7D,mEAAmE;IACnE,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,QAAQ,EAAE,CAAC,CAA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OAAO,CAAC,CAAA;IACxC,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,SAAS,CAAC,cAAc,GAAG,cAAc,CAAA;IAEzC,MAAM,SAAS,GAAG,IAAI,SAAS,CAAC,SAAS,CAAC,CAAA;IAE1C,MAAM,SAAS,GAAG,IAAI,mBAAmB,CAAC,SAAS,CAAC,CAAA;IACpD,QAAQ,GAAG,MAAM,SAAS,CAAC,GAAG,EAAE,CAAA;IAEhC,MAAM,cAAc,GAAG,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,CAAC,CAAA;IAE7D,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;QACnB,OAAO,CAAC,GAAG,EAAE,CAAA;QACb,OAAO,CAAC,GAAG,CACT,YAAY,WAAW,+BAA+B;YACpD,MAAM,cAAc,GAAG,CAC1B,CAAA;IACH,CAAC;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AAED,+EAA+E"}
@@ -1,97 +1,325 @@
1
+ /**
2
+ * Redirect configuration for URL compatibility.
3
+ *
4
+ * @public
5
+ */
1
6
  export interface Redirects {
7
+ /** Source URL(s) to redirect from. */
2
8
  from: string | string[];
9
+ /** Target URL to redirect to. */
3
10
  to: string;
4
11
  }
5
12
  /**
6
- * Options, as written by the user. All are optional.
13
+ * Configuration options as specified by users in configuration files.
14
+ *
15
+ * @remarks
16
+ * All options are optional and can be either string or boolean values
17
+ * depending on the specific configuration property.
7
18
  *
8
19
  * @public
9
20
  */
10
21
  export type CliConfigurationOptions = Record<string, string | boolean>;
22
+ /**
23
+ * Command line argument options passed to the application.
24
+ *
25
+ * @remarks
26
+ * Represents the parsed command line arguments with flexible typing
27
+ * to accommodate various option formats and undefined values.
28
+ *
29
+ * @public
30
+ */
11
31
  export type CommandOptions = Record<string, string | boolean | undefined>;
12
32
  /**
13
- * Options, when multi-configurations are used.
33
+ * Multiple configuration sets for different build scenarios.
34
+ *
35
+ * @remarks
36
+ * Allows defining different configuration profiles that can be selected
37
+ * based on the build context or command line parameters.
14
38
  *
15
39
  * @public
16
40
  */
17
41
  export type MultiConfigurations = Record<string, CliConfigurationOptions>;
18
42
  /**
19
- * Options, as seen by the application. Most are mandatory.
43
+ * Comprehensive CLI options class for documentation generation configuration.
44
+ *
45
+ * @remarks
46
+ * The CliOptions class contains all configuration parameters that control
47
+ * the behaviour of the doxygen2docusaurus conversion process, including
48
+ * paths, URLs, styling, and feature toggles.
20
49
  *
21
50
  * @public
22
51
  */
23
52
  export declare class CliOptions {
24
53
  /**
25
- * Relative to the current website folder, like `doxygen/xml`, no initial/
26
- * final slashes.
54
+ * Path to the Doxygen XML input folder relative to the website folder.
55
+ *
56
+ * @remarks
57
+ * Specifies the location of XML files generated by Doxygen, typically
58
+ * containing the parsed documentation data. Path should not include
59
+ * initial or final slashes.
60
+ *
61
+ * @defaultValue 'doxygen/xml'
27
62
  */
28
63
  doxygenXmlInputFolderPath: string;
29
64
  /**
30
- * Relative to the current website folder, like `docs`, no initial/final
31
- * slashes.
65
+ * Path to the documentation folder relative to the website folder.
66
+ *
67
+ * @remarks
68
+ * Defines the base folder where generated documentation will be placed
69
+ * within the Docusaurus website structure. Path should not include
70
+ * initial or final slashes.
71
+ *
72
+ * @defaultValue 'docs'
32
73
  */
33
74
  docsFolderPath: string;
34
- /** Relative to the docs folder, like `api`, no initial/final slashes. */
75
+ /**
76
+ * Path to the API documentation folder relative to the docs folder.
77
+ *
78
+ * @remarks
79
+ * Specifies the subfolder within the docs folder where API reference
80
+ * documentation will be generated. Path should not include initial
81
+ * or final slashes.
82
+ *
83
+ * @defaultValue 'api'
84
+ */
35
85
  apiFolderPath: string;
36
- /** Site base URL, like / or /xxx/. */
86
+ /**
87
+ * Base URL for the entire website.
88
+ *
89
+ * @remarks
90
+ * Defines the root URL path for the website, typically '/' for root
91
+ * deployment or '/project-name/' for GitHub Pages or similar hosting.
92
+ *
93
+ * @defaultValue '/'
94
+ */
37
95
  baseUrl: string;
38
- /** Relative to the web home, like `docs`, without initial/final slashes. */
96
+ /**
97
+ * URL path to the documentation section relative to the website root.
98
+ *
99
+ * @remarks
100
+ * Specifies the URL segment that leads to the documentation section,
101
+ * without initial or final slashes. Used for navigation and linking.
102
+ *
103
+ * @defaultValue 'docs'
104
+ */
39
105
  docsBaseUrl: string;
40
- /** Relative to the docs home, like `api`, without initial/final slashes. */
106
+ /**
107
+ * URL path to the API documentation relative to the docs section.
108
+ *
109
+ * @remarks
110
+ * Defines the URL segment for API documentation within the docs section,
111
+ * without initial or final slashes. Used for generating navigation links.
112
+ *
113
+ * @defaultValue 'api'
114
+ */
41
115
  apiBaseUrl: string;
42
- /** Relative to `static` */
116
+ /**
117
+ * Path for images relative to the `static` folder.
118
+ *
119
+ * @remarks
120
+ * Specifies where Doxygen-generated images will be stored within the
121
+ * Docusaurus static assets folder structure.
122
+ *
123
+ * @defaultValue 'assets/images/doxygen'
124
+ */
43
125
  imagesFolderPath: string;
44
- /** Relative to the current `website/static` folder, like `reference`. */
126
+ /**
127
+ * Output folder for compatibility redirect files.
128
+ *
129
+ * @remarks
130
+ * Optional path relative to the website/static folder where HTML redirect
131
+ * files will be generated to maintain compatibility with original Doxygen
132
+ * URLs. When undefined, no redirect files are created.
133
+ */
45
134
  compatibilityRedirectsOutputFolderPath?: string | undefined;
46
- /** The title to be displayed on the main page. */
135
+ /**
136
+ * Title displayed on the main API documentation page.
137
+ *
138
+ * @remarks
139
+ * When specified, this title overrides the default title generated from
140
+ * the project brief. When empty, the title is automatically constructed
141
+ * from the project configuration.
142
+ *
143
+ * @defaultValue ''
144
+ */
47
145
  mainPageTitle: string;
48
146
  /**
49
- * Relative to the current website folder, default
50
- * `sidebar-category-doxygen.json`.
147
+ * Path to the sidebar category configuration file.
148
+ *
149
+ * @remarks
150
+ * Specifies the location where the generated sidebar category JSON
151
+ * configuration will be written, relative to the current website folder.
152
+ *
153
+ * @defaultValue 'sidebar-category-doxygen.json'
51
154
  */
52
155
  sidebarCategoryFilePath: string;
53
- /** Short text to be displayed in the sidebar. */
156
+ /**
157
+ * Label displayed in the Docusaurus sidebar for the API documentation.
158
+ *
159
+ * @remarks
160
+ * Short descriptive text that appears in the sidebar navigation to
161
+ * identify the API reference section.
162
+ *
163
+ * @defaultValue 'API Reference (Doxygen)'
164
+ */
54
165
  sidebarCategoryLabel: string;
55
166
  /**
56
- * Relative to the current website folder, default
57
- * `docusaurus-config-doxygen-menu-dropdown.json`.
167
+ * Path to the navbar configuration file.
168
+ *
169
+ * @remarks
170
+ * Specifies the location where the generated navbar dropdown JSON
171
+ * configuration will be written, relative to the current website folder.
172
+ *
173
+ * @defaultValue 'docusaurus-config-navbar-doxygen.json'
58
174
  */
59
- menuDropdownFilePath: string;
60
- /** Short text to be displayed in the menu. */
61
- menuDropdownLabel: string;
175
+ navbarFilePath: string;
62
176
  /**
63
- * Relative to the current website folder, default
64
- * `src/css/custom-doxygen.css`
177
+ * Label displayed in the top navigation bar.
178
+ *
179
+ * @remarks
180
+ * Short text that appears in the Docusaurus top navigation bar to
181
+ * provide access to the API documentation section.
182
+ *
183
+ * @defaultValue 'Reference'
184
+ */
185
+ navbarLabel: string;
186
+ /**
187
+ * Position of the navigation menu in the top bar.
188
+ *
189
+ * @remarks
190
+ * Determines whether the API documentation menu appears on the left
191
+ * or right side of the Docusaurus navigation bar.
192
+ *
193
+ * @defaultValue 'left'
194
+ */
195
+ navbarPosition: 'left' | 'right';
196
+ /**
197
+ * Path to the custom CSS file for styling overrides.
198
+ *
199
+ * @remarks
200
+ * Specifies the location where custom CSS styles will be written to
201
+ * provide Doxygen-specific styling within the Docusaurus theme.
202
+ * Path is relative to the current website folder.
203
+ *
204
+ * @defaultValue 'src/css/custom-doxygen2docusaurus.css'
65
205
  */
66
206
  customCssFilePath: string;
67
- /** Boolean to control verbosity. */
207
+ /**
208
+ * Controls verbose output during the conversion process.
209
+ *
210
+ * @remarks
211
+ * When enabled, provides detailed logging information about the
212
+ * conversion process, including file processing status and statistics.
213
+ *
214
+ * @defaultValue false
215
+ */
68
216
  verbose: boolean;
69
- /** Boolean to control debug verbosity. */
217
+ /**
218
+ * Controls debug-level output during the conversion process.
219
+ *
220
+ * @remarks
221
+ * When enabled, provides extensive debugging information useful for
222
+ * troubleshooting issues. Automatically enables verbose output as well.
223
+ *
224
+ * @defaultValue false
225
+ */
70
226
  debug: boolean;
71
- /** Boolean to control if the TODO suggestions are shown. */
227
+ /**
228
+ * Controls whether TODO suggestion descriptions are displayed.
229
+ *
230
+ * @remarks
231
+ * When enabled, shows suggestions for improvements or missing content
232
+ * that could enhance the generated documentation quality.
233
+ *
234
+ * @defaultValue false
235
+ */
72
236
  suggestToDoDescriptions: boolean;
73
- /** Boolean to render the pages to the top. */
74
- renderPagesAtTop: boolean;
75
- /** Boolean to render the program listing in the File pages. */
237
+ /**
238
+ * Controls whether pages are listed at the top of the sidebar.
239
+ *
240
+ * @remarks
241
+ * When enabled, places page links prominently at the top of the sidebar
242
+ * navigation structure for easier access to important pages.
243
+ *
244
+ * @defaultValue true
245
+ */
246
+ listPagesAtTop: boolean;
247
+ /**
248
+ * Controls program listing rendering in File pages.
249
+ *
250
+ * @remarks
251
+ * When enabled, includes syntax-highlighted source code listings
252
+ * within the generated File documentation pages.
253
+ *
254
+ * @defaultValue true
255
+ */
76
256
  renderProgramListing: boolean;
77
257
  /**
78
- * Boolean to render the program listing in the member definitions sections.
258
+ * Controls program listing rendering in member definition sections.
259
+ *
260
+ * @remarks
261
+ * When enabled, includes inline syntax-highlighted code snippets
262
+ * within member documentation sections for better context.
263
+ *
264
+ * @defaultValue true
79
265
  */
80
266
  renderProgramListingInline: boolean;
81
267
  /**
82
- * Location of original Doxygen pages
268
+ * Note about the location of original Doxygen pages.
83
269
  *
84
- * 'For comparison, the original Doxygen html pages, styled with the
85
- * <a href="https://jothepro.github.io/doxygen-awesome-css/">doxygen-awesome-css</a>
86
- * plugin, continue to be available via the
87
- * <a href="pathname:///doxygen/topics.html"><code>.../doxygen/*.html</b></code>
88
- * URLs.'
270
+ * @remarks
271
+ * Provides information about where to find the original Doxygen HTML
272
+ * pages for comparison purposes. When populated, this note is displayed
273
+ * to inform users about the availability of alternative documentation
274
+ * formats.
89
275
  */
90
276
  originalPagesNote: string;
91
- /** String identifier in case of multiple instances. */
277
+ /**
278
+ * String identifier for distinguishing multiple configuration instances.
279
+ *
280
+ * @remarks
281
+ * Used when multiple configuration instances exist to provide unique
282
+ * identification. Particularly useful in multi-configuration scenarios
283
+ * where different settings need to be applied to different outputs.
284
+ *
285
+ * @defaultValue 'default'
286
+ */
92
287
  id: string;
288
+ /**
289
+ * Creates a new CliOptions instance with the specified command options.
290
+ *
291
+ * @remarks
292
+ * Initialises the configuration object by setting the ID and optional
293
+ * flags like verbose and debug. When the ID is not 'default', adjusts
294
+ * folder paths and file names to include the ID for multi-configuration
295
+ * scenarios.
296
+ *
297
+ * @param commandOptions - Command-line options object containing ID and flags
298
+ */
93
299
  constructor(commandOptions: CommandOptions);
300
+ /**
301
+ * Parses configuration options from various JSON configuration sources.
302
+ *
303
+ * @remarks
304
+ * Attempts to load configuration from multiple locations in order of
305
+ * preference: config/doxygen2docusaurus.json, doxygen2docusaurus.json,
306
+ * and package.json. Validates required properties and enables debug
307
+ * output if requested.
308
+ *
309
+ * @throws Assertion error if required configuration properties are missing
310
+ */
94
311
  parse(): Promise<void>;
312
+ /**
313
+ * Selects the appropriate configuration from multi-configuration options.
314
+ *
315
+ * @remarks
316
+ * When using a specific ID, returns the corresponding configuration.
317
+ * For the default ID, returns either the 'default' configuration or
318
+ * treats the entire object as a single configuration.
319
+ *
320
+ * @param multiConfigurations - Configuration object or multi-config map
321
+ * @returns Selected configuration options or undefined if not found
322
+ */
95
323
  selectMultiConfiguration(multiConfigurations: CliConfigurationOptions | MultiConfigurations): CliConfigurationOptions | undefined;
96
324
  }
97
325
  export declare const renderParagraphs = true;
@@ -1 +1 @@
1
- {"version":3,"file":"cli-options.d.ts","sourceRoot":"","sources":["../../src/docusaurus/cli-options.ts"],"names":[],"mappings":"AA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