@xpack/doxygen2docusaurus 2.0.0 → 2.2.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 (365) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -1
  3. package/bin/doxygen2docusaurus.js +5 -5
  4. package/dist/cli/main.d.ts +0 -14
  5. package/dist/cli/main.d.ts.map +1 -1
  6. package/dist/cli/main.js +0 -34
  7. package/dist/cli/main.js.map +1 -1
  8. package/dist/docusaurus/cli-options.d.ts +3 -292
  9. package/dist/docusaurus/cli-options.d.ts.map +1 -1
  10. package/dist/docusaurus/cli-options.js +6 -290
  11. package/dist/docusaurus/cli-options.js.map +1 -1
  12. package/dist/docusaurus/generator.d.ts +0 -172
  13. package/dist/docusaurus/generator.d.ts.map +1 -1
  14. package/dist/docusaurus/generator.js +20 -280
  15. package/dist/docusaurus/generator.js.map +1 -1
  16. package/dist/docusaurus/renderers/conceptparts.d.ts +9 -0
  17. package/dist/docusaurus/renderers/conceptparts.d.ts.map +1 -0
  18. package/dist/docusaurus/renderers/conceptparts.js +21 -0
  19. package/dist/docusaurus/renderers/conceptparts.js.map +1 -0
  20. package/dist/docusaurus/renderers/descriptiontype.d.ts +0 -417
  21. package/dist/docusaurus/renderers/descriptiontype.d.ts.map +1 -1
  22. package/dist/docusaurus/renderers/descriptiontype.js +11 -555
  23. package/dist/docusaurus/renderers/descriptiontype.js.map +1 -1
  24. package/dist/docusaurus/renderers/docinternalstype.d.ts +0 -132
  25. package/dist/docusaurus/renderers/docinternalstype.d.ts.map +1 -1
  26. package/dist/docusaurus/renderers/docinternalstype.js +0 -156
  27. package/dist/docusaurus/renderers/docinternalstype.js.map +1 -1
  28. package/dist/docusaurus/renderers/doclisttype.d.ts +0 -22
  29. package/dist/docusaurus/renderers/doclisttype.d.ts.map +1 -1
  30. package/dist/docusaurus/renderers/doclisttype.js +0 -42
  31. package/dist/docusaurus/renderers/doclisttype.js.map +1 -1
  32. package/dist/docusaurus/renderers/doctabletype.d.ts +0 -88
  33. package/dist/docusaurus/renderers/doctabletype.d.ts.map +1 -1
  34. package/dist/docusaurus/renderers/doctabletype.js +1 -113
  35. package/dist/docusaurus/renderers/doctabletype.js.map +1 -1
  36. package/dist/docusaurus/renderers/doctitletype.d.ts +0 -22
  37. package/dist/docusaurus/renderers/doctitletype.d.ts.map +1 -1
  38. package/dist/docusaurus/renderers/doctitletype.js +0 -42
  39. package/dist/docusaurus/renderers/doctitletype.js.map +1 -1
  40. package/dist/docusaurus/renderers/docvariablelisttype.d.ts +0 -44
  41. package/dist/docusaurus/renderers/docvariablelisttype.d.ts.map +1 -1
  42. package/dist/docusaurus/renderers/docvariablelisttype.js +1 -69
  43. package/dist/docusaurus/renderers/docvariablelisttype.js.map +1 -1
  44. package/dist/docusaurus/renderers/docxrefsecttype.d.ts +0 -22
  45. package/dist/docusaurus/renderers/docxrefsecttype.d.ts.map +1 -1
  46. package/dist/docusaurus/renderers/docxrefsecttype.js +0 -38
  47. package/dist/docusaurus/renderers/docxrefsecttype.js.map +1 -1
  48. package/dist/docusaurus/renderers/element-renderer-base.d.ts +0 -74
  49. package/dist/docusaurus/renderers/element-renderer-base.d.ts.map +1 -1
  50. package/dist/docusaurus/renderers/element-renderer-base.js +0 -64
  51. package/dist/docusaurus/renderers/element-renderer-base.js.map +1 -1
  52. package/dist/docusaurus/renderers/inctype.d.ts +0 -23
  53. package/dist/docusaurus/renderers/inctype.d.ts.map +1 -1
  54. package/dist/docusaurus/renderers/inctype.js +0 -41
  55. package/dist/docusaurus/renderers/inctype.js.map +1 -1
  56. package/dist/docusaurus/renderers/linkedtexttype.d.ts +0 -22
  57. package/dist/docusaurus/renderers/linkedtexttype.d.ts.map +1 -1
  58. package/dist/docusaurus/renderers/linkedtexttype.js +0 -45
  59. package/dist/docusaurus/renderers/linkedtexttype.js.map +1 -1
  60. package/dist/docusaurus/renderers/listingtype.d.ts +0 -52
  61. package/dist/docusaurus/renderers/listingtype.d.ts.map +1 -1
  62. package/dist/docusaurus/renderers/listingtype.js +1 -88
  63. package/dist/docusaurus/renderers/listingtype.js.map +1 -1
  64. package/dist/docusaurus/renderers/paramtype.d.ts +0 -22
  65. package/dist/docusaurus/renderers/paramtype.d.ts.map +1 -1
  66. package/dist/docusaurus/renderers/paramtype.js +2 -51
  67. package/dist/docusaurus/renderers/paramtype.js.map +1 -1
  68. package/dist/docusaurus/renderers/referencetype.d.ts +0 -23
  69. package/dist/docusaurus/renderers/referencetype.d.ts.map +1 -1
  70. package/dist/docusaurus/renderers/referencetype.js +0 -38
  71. package/dist/docusaurus/renderers/referencetype.js.map +1 -1
  72. package/dist/docusaurus/renderers/reftexttype.d.ts +0 -22
  73. package/dist/docusaurus/renderers/reftexttype.d.ts.map +1 -1
  74. package/dist/docusaurus/renderers/reftexttype.js +0 -38
  75. package/dist/docusaurus/renderers/reftexttype.js.map +1 -1
  76. package/dist/docusaurus/renderers/reftype.d.ts +0 -22
  77. package/dist/docusaurus/renderers/reftype.d.ts.map +1 -1
  78. package/dist/docusaurus/renderers/reftype.js +0 -38
  79. package/dist/docusaurus/renderers/reftype.js.map +1 -1
  80. package/dist/docusaurus/renderers/renderers.d.ts +0 -151
  81. package/dist/docusaurus/renderers/renderers.d.ts.map +1 -1
  82. package/dist/docusaurus/renderers/renderers.js +15 -186
  83. package/dist/docusaurus/renderers/renderers.js.map +1 -1
  84. package/dist/docusaurus/renderers/substringtype.d.ts +0 -22
  85. package/dist/docusaurus/renderers/substringtype.d.ts.map +1 -1
  86. package/dist/docusaurus/renderers/substringtype.js +0 -39
  87. package/dist/docusaurus/renderers/substringtype.js.map +1 -1
  88. package/dist/docusaurus/renderers/tableofcontentstype.d.ts +0 -22
  89. package/dist/docusaurus/renderers/tableofcontentstype.d.ts.map +1 -1
  90. package/dist/docusaurus/renderers/tableofcontentstype.js +0 -39
  91. package/dist/docusaurus/renderers/tableofcontentstype.js.map +1 -1
  92. package/dist/docusaurus/types.d.ts +0 -110
  93. package/dist/docusaurus/types.d.ts.map +1 -1
  94. package/dist/docusaurus/types.js +0 -11
  95. package/dist/docusaurus/types.js.map +1 -1
  96. package/dist/docusaurus/utils.d.ts +0 -214
  97. package/dist/docusaurus/utils.d.ts.map +1 -1
  98. package/dist/docusaurus/utils.js +0 -296
  99. package/dist/docusaurus/utils.js.map +1 -1
  100. package/dist/docusaurus/view-model/classes-vm.d.ts +0 -137
  101. package/dist/docusaurus/view-model/classes-vm.d.ts.map +1 -1
  102. package/dist/docusaurus/view-model/classes-vm.js +9 -225
  103. package/dist/docusaurus/view-model/classes-vm.js.map +1 -1
  104. package/dist/docusaurus/view-model/collection-base.d.ts +0 -120
  105. package/dist/docusaurus/view-model/collection-base.d.ts.map +1 -1
  106. package/dist/docusaurus/view-model/collection-base.js +11 -101
  107. package/dist/docusaurus/view-model/collection-base.js.map +1 -1
  108. package/dist/docusaurus/view-model/compound-base-vm.d.ts +2 -147
  109. package/dist/docusaurus/view-model/compound-base-vm.d.ts.map +1 -1
  110. package/dist/docusaurus/view-model/compound-base-vm.js +47 -225
  111. package/dist/docusaurus/view-model/compound-base-vm.js.map +1 -1
  112. package/dist/docusaurus/view-model/concepts-vm.d.ts +27 -0
  113. package/dist/docusaurus/view-model/concepts-vm.d.ts.map +1 -0
  114. package/dist/docusaurus/view-model/concepts-vm.js +337 -0
  115. package/dist/docusaurus/view-model/concepts-vm.js.map +1 -0
  116. package/dist/docusaurus/view-model/description-anchors.d.ts +0 -58
  117. package/dist/docusaurus/view-model/description-anchors.d.ts.map +1 -1
  118. package/dist/docusaurus/view-model/description-anchors.js +0 -71
  119. package/dist/docusaurus/view-model/description-anchors.js.map +1 -1
  120. package/dist/docusaurus/view-model/files-and-folders-vm.d.ts +0 -247
  121. package/dist/docusaurus/view-model/files-and-folders-vm.d.ts.map +1 -1
  122. package/dist/docusaurus/view-model/files-and-folders-vm.js +61 -353
  123. package/dist/docusaurus/view-model/files-and-folders-vm.js.map +1 -1
  124. package/dist/docusaurus/view-model/groups-vm.d.ts +0 -148
  125. package/dist/docusaurus/view-model/groups-vm.d.ts.map +1 -1
  126. package/dist/docusaurus/view-model/groups-vm.js +2 -223
  127. package/dist/docusaurus/view-model/groups-vm.js.map +1 -1
  128. package/dist/docusaurus/view-model/members-vm.d.ts +0 -552
  129. package/dist/docusaurus/view-model/members-vm.d.ts.map +1 -1
  130. package/dist/docusaurus/view-model/members-vm.js +17 -702
  131. package/dist/docusaurus/view-model/members-vm.js.map +1 -1
  132. package/dist/docusaurus/view-model/namespaces-vm.d.ts +5 -199
  133. package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
  134. package/dist/docusaurus/view-model/namespaces-vm.js +85 -284
  135. package/dist/docusaurus/view-model/namespaces-vm.js.map +1 -1
  136. package/dist/docusaurus/view-model/options.d.ts +0 -43
  137. package/dist/docusaurus/view-model/options.d.ts.map +1 -1
  138. package/dist/docusaurus/view-model/options.js +0 -57
  139. package/dist/docusaurus/view-model/options.js.map +1 -1
  140. package/dist/docusaurus/view-model/pages-vm.d.ts +0 -115
  141. package/dist/docusaurus/view-model/pages-vm.d.ts.map +1 -1
  142. package/dist/docusaurus/view-model/pages-vm.js +39 -162
  143. package/dist/docusaurus/view-model/pages-vm.js.map +1 -1
  144. package/dist/docusaurus/view-model/tree-entries-vm.d.ts +8 -142
  145. package/dist/docusaurus/view-model/tree-entries-vm.d.ts.map +1 -1
  146. package/dist/docusaurus/view-model/tree-entries-vm.js +54 -174
  147. package/dist/docusaurus/view-model/tree-entries-vm.js.map +1 -1
  148. package/dist/docusaurus/view-model/view-model.d.ts +0 -125
  149. package/dist/docusaurus/view-model/view-model.d.ts.map +1 -1
  150. package/dist/docusaurus/view-model/view-model.js +20 -182
  151. package/dist/docusaurus/view-model/view-model.js.map +1 -1
  152. package/dist/docusaurus/workspace.d.ts +1 -126
  153. package/dist/docusaurus/workspace.d.ts.map +1 -1
  154. package/dist/docusaurus/workspace.js +8 -221
  155. package/dist/docusaurus/workspace.js.map +1 -1
  156. package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts +7 -492
  157. package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
  158. package/dist/doxygen/data-model/compounds/compounddef-dm.js +28 -672
  159. package/dist/doxygen/data-model/compounds/compounddef-dm.js.map +1 -1
  160. package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts +0 -129
  161. package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts.map +1 -1
  162. package/dist/doxygen/data-model/compounds/compoundreftype-dm.js +1 -145
  163. package/dist/doxygen/data-model/compounds/compoundreftype-dm.js.map +1 -1
  164. package/dist/doxygen/data-model/compounds/concepts-dm.d.ts +23 -0
  165. package/dist/doxygen/data-model/compounds/concepts-dm.d.ts.map +1 -0
  166. package/dist/doxygen/data-model/compounds/concepts-dm.js +94 -0
  167. package/dist/doxygen/data-model/compounds/concepts-dm.js.map +1 -0
  168. package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts +104 -2848
  169. package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts.map +1 -1
  170. package/dist/doxygen/data-model/compounds/descriptiontype-dm.js +73 -3975
  171. package/dist/doxygen/data-model/compounds/descriptiontype-dm.js.map +1 -1
  172. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts +0 -165
  173. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts.map +1 -1
  174. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js +0 -229
  175. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js.map +1 -1
  176. package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts +0 -70
  177. package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts.map +1 -1
  178. package/dist/doxygen/data-model/compounds/doxygentype-dm.js +0 -105
  179. package/dist/doxygen/data-model/compounds/doxygentype-dm.js.map +1 -1
  180. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts +0 -84
  181. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts.map +1 -1
  182. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js +1 -122
  183. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js.map +1 -1
  184. package/dist/doxygen/data-model/compounds/inctype-dm.d.ts +0 -116
  185. package/dist/doxygen/data-model/compounds/inctype-dm.d.ts.map +1 -1
  186. package/dist/doxygen/data-model/compounds/inctype-dm.js +3 -155
  187. package/dist/doxygen/data-model/compounds/inctype-dm.js.map +1 -1
  188. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts +3 -138
  189. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts.map +1 -1
  190. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js +5 -180
  191. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js.map +1 -1
  192. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts +0 -76
  193. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts.map +1 -1
  194. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js +0 -107
  195. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js.map +1 -1
  196. package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts +0 -162
  197. package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts.map +1 -1
  198. package/dist/doxygen/data-model/compounds/locationtype-dm.js +4 -203
  199. package/dist/doxygen/data-model/compounds/locationtype-dm.js.map +1 -1
  200. package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts +2 -443
  201. package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts.map +1 -1
  202. package/dist/doxygen/data-model/compounds/memberdeftype-dm.js +19 -475
  203. package/dist/doxygen/data-model/compounds/memberdeftype-dm.js.map +1 -1
  204. package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts +0 -141
  205. package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts.map +1 -1
  206. package/dist/doxygen/data-model/compounds/memberreftype-dm.js +0 -176
  207. package/dist/doxygen/data-model/compounds/memberreftype-dm.js.map +1 -1
  208. package/dist/doxygen/data-model/compounds/membertype-dm.d.ts +0 -101
  209. package/dist/doxygen/data-model/compounds/membertype-dm.d.ts.map +1 -1
  210. package/dist/doxygen/data-model/compounds/membertype-dm.js +0 -115
  211. package/dist/doxygen/data-model/compounds/membertype-dm.js.map +1 -1
  212. package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts +0 -164
  213. package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts.map +1 -1
  214. package/dist/doxygen/data-model/compounds/paramtype-dm.js +0 -208
  215. package/dist/doxygen/data-model/compounds/paramtype-dm.js.map +1 -1
  216. package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts +0 -139
  217. package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts.map +1 -1
  218. package/dist/doxygen/data-model/compounds/referencetype-dm.js +2 -175
  219. package/dist/doxygen/data-model/compounds/referencetype-dm.js.map +1 -1
  220. package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts +0 -120
  221. package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts.map +1 -1
  222. package/dist/doxygen/data-model/compounds/reftexttype-dm.js +2 -141
  223. package/dist/doxygen/data-model/compounds/reftexttype-dm.js.map +1 -1
  224. package/dist/doxygen/data-model/compounds/reftype-dm.d.ts +0 -268
  225. package/dist/doxygen/data-model/compounds/reftype-dm.d.ts.map +1 -1
  226. package/dist/doxygen/data-model/compounds/reftype-dm.js +4 -326
  227. package/dist/doxygen/data-model/compounds/reftype-dm.js.map +1 -1
  228. package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts +0 -105
  229. package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts.map +1 -1
  230. package/dist/doxygen/data-model/compounds/reimplementtype-dm.js +1 -139
  231. package/dist/doxygen/data-model/compounds/reimplementtype-dm.js.map +1 -1
  232. package/dist/doxygen/data-model/compounds/requirements-dm.d.ts +2 -0
  233. package/dist/doxygen/data-model/compounds/requirements-dm.d.ts.map +1 -0
  234. package/dist/doxygen/data-model/compounds/requirements-dm.js +2 -0
  235. package/dist/doxygen/data-model/compounds/requirements-dm.js.map +1 -0
  236. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts +0 -168
  237. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts.map +1 -1
  238. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js +0 -209
  239. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js.map +1 -1
  240. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts +0 -267
  241. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts.map +1 -1
  242. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js +0 -354
  243. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js.map +1 -1
  244. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts +0 -66
  245. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts.map +1 -1
  246. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js +0 -97
  247. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js.map +1 -1
  248. package/dist/doxygen/data-model/data-model.d.ts +0 -149
  249. package/dist/doxygen/data-model/data-model.d.ts.map +1 -1
  250. package/dist/doxygen/data-model/data-model.js +8 -200
  251. package/dist/doxygen/data-model/data-model.js.map +1 -1
  252. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts +0 -115
  253. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts.map +1 -1
  254. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js +4 -129
  255. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js.map +1 -1
  256. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts +0 -87
  257. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts.map +1 -1
  258. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js +0 -118
  259. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js.map +1 -1
  260. package/dist/doxygen/data-model/doxygen-xml-parser.d.ts +0 -253
  261. package/dist/doxygen/data-model/doxygen-xml-parser.d.ts.map +1 -1
  262. package/dist/doxygen/data-model/doxygen-xml-parser.js +0 -291
  263. package/dist/doxygen/data-model/doxygen-xml-parser.js.map +1 -1
  264. package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts +0 -98
  265. package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts.map +1 -1
  266. package/dist/doxygen/data-model/index/indexcompoundtype-dm.js +2 -122
  267. package/dist/doxygen/data-model/index/indexcompoundtype-dm.js.map +1 -1
  268. package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts +0 -82
  269. package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts.map +1 -1
  270. package/dist/doxygen/data-model/index/indexdoxygentype-dm.js +0 -114
  271. package/dist/doxygen/data-model/index/indexdoxygentype-dm.js.map +1 -1
  272. package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts +0 -85
  273. package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts.map +1 -1
  274. package/dist/doxygen/data-model/index/indexmembertype-dm.js +1 -107
  275. package/dist/doxygen/data-model/index/indexmembertype-dm.js.map +1 -1
  276. package/dist/doxygen/data-model/types.d.ts +0 -104
  277. package/dist/doxygen/data-model/types.d.ts.map +1 -1
  278. package/dist/doxygen/data-model/types.js +0 -52
  279. package/dist/doxygen/data-model/types.js.map +1 -1
  280. package/dist/index.d.ts +5 -16
  281. package/dist/index.d.ts.map +1 -1
  282. package/dist/index.js +5 -42
  283. package/dist/index.js.map +1 -1
  284. package/package.json +49 -52
  285. package/src/cli/main.ts +122 -0
  286. package/src/docusaurus/cli-options.ts +560 -0
  287. package/src/docusaurus/generator.ts +788 -0
  288. package/src/docusaurus/renderers/conceptparts.ts +119 -0
  289. package/src/docusaurus/renderers/descriptiontype.ts +1299 -0
  290. package/src/docusaurus/renderers/docinternalstype.ts +354 -0
  291. package/src/docusaurus/renderers/doclisttype.ts +134 -0
  292. package/src/docusaurus/renderers/doctabletype.ts +220 -0
  293. package/src/docusaurus/renderers/doctitletype.ts +77 -0
  294. package/src/docusaurus/renderers/docvariablelisttype.ts +123 -0
  295. package/src/docusaurus/renderers/docxrefsecttype.ts +84 -0
  296. package/src/docusaurus/renderers/element-renderer-base.ts +112 -0
  297. package/src/docusaurus/renderers/inctype.ts +75 -0
  298. package/src/docusaurus/renderers/linkedtexttype.ts +64 -0
  299. package/src/docusaurus/renderers/listingtype.ts +235 -0
  300. package/src/docusaurus/renderers/paramtype.ts +116 -0
  301. package/src/docusaurus/renderers/referencetype.ts +83 -0
  302. package/src/docusaurus/renderers/reftexttype.ts +81 -0
  303. package/src/docusaurus/renderers/reftype.ts +77 -0
  304. package/src/docusaurus/renderers/renderers.ts +812 -0
  305. package/src/docusaurus/renderers/substringtype.ts +53 -0
  306. package/src/docusaurus/renderers/tableofcontentstype.ts +74 -0
  307. package/src/docusaurus/types.ts +187 -0
  308. package/src/docusaurus/utils.ts +409 -0
  309. package/src/docusaurus/view-model/README.md +12 -0
  310. package/src/docusaurus/view-model/classes-vm.ts +1088 -0
  311. package/src/docusaurus/view-model/collection-base.ts +352 -0
  312. package/src/docusaurus/view-model/compound-base-vm.ts +1340 -0
  313. package/src/docusaurus/view-model/concepts-vm.ts +749 -0
  314. package/src/docusaurus/view-model/description-anchors.ts +107 -0
  315. package/src/docusaurus/view-model/files-and-folders-vm.ts +1293 -0
  316. package/src/docusaurus/view-model/groups-vm.ts +548 -0
  317. package/src/docusaurus/view-model/members-vm.ts +1943 -0
  318. package/src/docusaurus/view-model/namespaces-vm.ts +1037 -0
  319. package/src/docusaurus/view-model/options.ts +95 -0
  320. package/src/docusaurus/view-model/pages-vm.ts +389 -0
  321. package/src/docusaurus/view-model/tree-entries-vm.ts +376 -0
  322. package/src/docusaurus/view-model/view-model.ts +513 -0
  323. package/src/docusaurus/workspace.ts +588 -0
  324. package/src/doxygen/data-model/README.md +13 -0
  325. package/src/doxygen/data-model/compounds/compounddef-dm.ts +1230 -0
  326. package/src/doxygen/data-model/compounds/compoundreftype-dm.ts +266 -0
  327. package/src/doxygen/data-model/compounds/concepts-dm.ts +362 -0
  328. package/src/doxygen/data-model/compounds/descriptiontype-dm.ts +10114 -0
  329. package/src/doxygen/data-model/compounds/docvarlistentrytype-dm.ts +354 -0
  330. package/src/doxygen/data-model/compounds/doxygentype-dm.ts +187 -0
  331. package/src/doxygen/data-model/compounds/enumvaluetype-dm.ts +218 -0
  332. package/src/doxygen/data-model/compounds/inctype-dm.ts +217 -0
  333. package/src/doxygen/data-model/compounds/linkedtexttype-dm.ts +288 -0
  334. package/src/doxygen/data-model/compounds/listofallmemberstype-dm.ts +160 -0
  335. package/src/doxygen/data-model/compounds/locationtype-dm.ts +284 -0
  336. package/src/doxygen/data-model/compounds/memberdeftype-dm.ts +881 -0
  337. package/src/doxygen/data-model/compounds/memberreftype-dm.ts +270 -0
  338. package/src/doxygen/data-model/compounds/membertype-dm.ts +239 -0
  339. package/src/doxygen/data-model/compounds/paramtype-dm.ts +302 -0
  340. package/src/doxygen/data-model/compounds/referencetype-dm.ts +248 -0
  341. package/src/doxygen/data-model/compounds/reftexttype-dm.ts +234 -0
  342. package/src/doxygen/data-model/compounds/reftype-dm.ts +430 -0
  343. package/src/doxygen/data-model/compounds/reimplementtype-dm.ts +201 -0
  344. package/src/doxygen/data-model/compounds/requirements-dm.ts +50 -0
  345. package/src/doxygen/data-model/compounds/sectiondeftype-dm.ts +330 -0
  346. package/src/doxygen/data-model/compounds/tableofcontentstype-dm.ts +564 -0
  347. package/src/doxygen/data-model/compounds/templateparamlisttype-dm.ts +150 -0
  348. package/src/doxygen/data-model/data-model.ts +378 -0
  349. package/src/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.ts +271 -0
  350. package/src/doxygen/data-model/doxyfile/doxyfiletype-dm.ts +200 -0
  351. package/src/doxygen/data-model/doxygen-xml-parser.ts +522 -0
  352. package/src/doxygen/data-model/index/indexcompoundtype-dm.ts +256 -0
  353. package/src/doxygen/data-model/index/indexdoxygentype-dm.ts +196 -0
  354. package/src/doxygen/data-model/index/indexmembertype-dm.ts +230 -0
  355. package/src/doxygen/data-model/types.ts +175 -0
  356. package/src/doxygen/data-model/xsds/README.md +6 -0
  357. package/src/doxygen/data-model/xsds/compound.xsd +1788 -0
  358. package/src/doxygen/data-model/xsds/doxyfile.xsd +365 -0
  359. package/src/doxygen/data-model/xsds/index.xsd +74 -0
  360. package/src/doxygen/data-model/xsds/xml.xsd +23 -0
  361. package/src/index.ts +267 -0
  362. package/src/tsconfig.json +12 -0
  363. package/dist/doxygen2docusaurus.d.ts +0 -4774
  364. package/dist/tsconfig.tsbuildinfo +0 -1
  365. package/dist/tsdoc-metadata.json +0 -11
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Liviu Ionescu
3
+ Copyright (c) 2024-2026 Liviu Ionescu
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  [![GitHub package.json version](https://img.shields.io/github/package-json/v/xpack/doxygen2docusaurus-cli-ts)](https://github.com/xpack/doxygen2docusaurus-cli-ts/blob/master/package.json)
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
+ [![Website](https://img.shields.io/website?url=https%3A%2F%2Fxpack.github.io%2Fdoxygen2docusaurus-cli-ts%2F)](https://xpack.github.io/doxygen2docusaurus/)
4
5
 
5
6
  # The Doxygen Documentation Converter
6
7
 
@@ -14,7 +15,8 @@ For information on how to install and use this project, please refer to the
14
15
  ## Project source
15
16
 
16
17
  The source code of the current release is available on
17
- [GitHub tag v1.1.0 tree](https://github.com/xpack/doxygen2docusaurus-cli-ts/tree/v1.1.0).
18
+ GitHub as [xpack/doxygen2docusaurus-cli-ts](https://github.com/xpack/doxygen2docusaurus-cli-ts),
19
+ the [v2.2.0](https://github.com/xpack/doxygen2docusaurus-cli-ts/tree/v2.2.0) tree.
18
20
 
19
21
  ## License
20
22
 
@@ -3,13 +3,13 @@
3
3
 
4
4
  /*
5
5
  * This file is part of the xPack project (http://xpack.github.io).
6
- * Copyright (c) 2025 Liviu Ionescu. All rights reserved.
6
+ * Copyright (c) 2025-2026 Liviu Ionescu. All rights reserved.
7
7
  *
8
- * Permission to use, copy, modify, and/or distribute this software
9
- * for any purpose is hereby granted, under the terms of the MIT license.
8
+ * Permission to use, copy, modify, and/or distribute this software for any
9
+ * purpose is hereby granted, under the terms of the MIT license.
10
10
  *
11
- * If a copy of the license was not distributed with this file, it can
12
- * be obtained from https://opensource.org/license/mit.
11
+ * If a copy of the license was not distributed with this file, it can be
12
+ * obtained from https://opensource.org/licenses/mit.
13
13
  */
14
14
 
15
15
  'use strict'
@@ -1,16 +1,2 @@
1
- /**
2
- * Main entry point for the doxygen2docusaurus CLI tool.
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
- *
10
- * @param argv - Command line arguments array
11
- * @returns Promise that resolves to the exit code (0 for success, 1 for error)
12
- *
13
- * @public
14
- */
15
1
  export declare function main(argv: string[]): Promise<number>;
16
2
  //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":"AA4CA,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA2E1D"}
package/dist/cli/main.js CHANGED
@@ -1,51 +1,18 @@
1
- /*
2
- * This file is part of the xPack project (http://xpack.github.io).
3
- * Copyright (c) 2025 Liviu Ionescu. All rights reserved.
4
- *
5
- * Permission to use, copy, modify, and/or distribute this software
6
- * for any purpose is hereby granted, under the terms of the MIT license.
7
- *
8
- * If a copy of the license was not distributed with this file, it can
9
- * be obtained from https://opensource.org/licenses/MIT.
10
- */
11
- // ----------------------------------------------------------------------------
12
- // import assert from 'node:assert'
13
1
  import * as path from 'node:path';
14
2
  import * as fs from 'node:fs/promises';
15
3
  import { fileURLToPath } from 'node:url';
16
- // import * as util from 'node:util'
17
- // https://www.npmjs.com/package/commander
18
4
  import { CliOptions } from '../docusaurus/cli-options.js';
19
5
  import { formatDuration } from '../docusaurus/utils.js';
20
6
  import { DataModel } from '../doxygen/data-model/data-model.js';
21
7
  import { DocusaurusGenerator } from '../docusaurus/generator.js';
22
8
  import { Workspace } from '../docusaurus/workspace.js';
23
- // https://www.npmjs.com/package/commander
24
9
  import { Command } from 'commander';
25
- // ----------------------------------------------------------------------------
26
- /**
27
- * Main entry point for the doxygen2docusaurus CLI tool.
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
- *
35
- * @param argv - Command line arguments array
36
- * @returns Promise that resolves to the exit code (0 for success, 1 for error)
37
- *
38
- * @public
39
- */
40
10
  export async function main(argv) {
41
11
  const startTime = Date.now();
42
- // Like .../doxygen2docusaurus/dist/cli
43
12
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
44
13
  const packageJsonPath = path.join(path.dirname(path.dirname(__dirname)), 'package.json');
45
14
  const packageJsonContent = await fs.readFile(packageJsonPath);
46
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
47
15
  const packageJson = JSON.parse(packageJsonContent.toString());
48
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
49
16
  const packageVersion = packageJson.version;
50
17
  const program = new Command();
51
18
  program.option('--id <name>', 'configuration id, for multi-configurations');
@@ -89,5 +56,4 @@ export async function main(argv) {
89
56
  }
90
57
  return exitCode;
91
58
  }
92
- // ----------------------------------------------------------------------------
93
59
  //# sourceMappingURL=main.js.map
@@ -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,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,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,0CAA0C;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,+EAA+E;AAE/E;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,KAAK,UAAU,IAAI,CAAC,IAAc;IACvC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;IAE5B,uCAA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O,EAAE,KAAK,EAAE,CAAA;IAC7C,MAAM,OAAO,GAAG,IAAI,UAAU,CAAC,cAAc,CAAC,CAAA;IAC9C,MAAM,OAAO,CAAC,KAAK,EAAE,CAAA;IAErB,IAAI,QAAQ,GAAG,CAAC,CAAA;IAEhB,OAAO,CAAC,GAAG,EAAE,CAAA;IAEb,MAAM,SAAS,GAAG,IAAI,SAAS,CAAC,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"}
@@ -1,325 +1,36 @@
1
- /**
2
- * Redirect configuration for URL compatibility.
3
- *
4
- * @public
5
- */
6
1
  export interface Redirects {
7
- /** Source URL(s) to redirect from. */
8
2
  from: string | string[];
9
- /** Target URL to redirect to. */
10
3
  to: string;
11
4
  }
12
- /**
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.
18
- *
19
- * @public
20
- */
21
5
  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
- */
31
6
  export type CommandOptions = Record<string, string | boolean | undefined>;
32
- /**
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.
38
- *
39
- * @public
40
- */
41
7
  export type MultiConfigurations = Record<string, CliConfigurationOptions>;
42
- /**
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.
49
- *
50
- * @public
51
- */
52
8
  export declare class CliOptions {
53
- /**
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'
62
- */
63
9
  doxygenXmlInputFolderPath: string;
64
- /**
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'
73
- */
74
10
  docsFolderPath: string;
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
- */
85
11
  apiFolderPath: string;
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
- */
95
12
  baseUrl: string;
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
- */
105
13
  docsBaseUrl: string;
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
- */
115
14
  apiBaseUrl: string;
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
- */
125
15
  imagesFolderPath: string;
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
- */
134
16
  compatibilityRedirectsOutputFolderPath?: string | undefined;
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
- */
145
17
  mainPageTitle: string;
146
- /**
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'
154
- */
155
18
  sidebarCategoryFilePath: string;
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
- */
165
19
  sidebarCategoryLabel: string;
166
- /**
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'
174
- */
175
- navbarFilePath: string;
176
- /**
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'
205
- */
20
+ navbarDropdownFilePath: string;
21
+ navbarDropdownLabel: string;
22
+ navbarDropdownPosition: 'left' | 'right';
206
23
  customCssFilePath: string;
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
- */
216
24
  verbose: boolean;
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
- */
226
25
  debug: boolean;
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
- */
236
26
  suggestToDoDescriptions: boolean;
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
27
  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
- */
256
28
  renderProgramListing: boolean;
257
- /**
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
265
- */
266
29
  renderProgramListingInline: boolean;
267
- /**
268
- * Note about the location of original Doxygen pages.
269
- *
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.
275
- */
276
30
  originalPagesNote: string;
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
- */
287
31
  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
- */
299
32
  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
- */
311
33
  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
- */
323
34
  selectMultiConfiguration(multiConfigurations: CliConfigurationOptions | MultiConfigurations): CliConfigurationOptions | undefined;
324
35
  }
325
36
  export declare const renderParagraphs = true;
@@ -1 +1 @@
1
- {"version":3,"file":"cli-options.d.ts","sourceRoot":"","sources":["../../src/docusaurus/cli-options.ts"],"names":[],"mappings":"AAoBA;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,sCAAsC;IACtC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACvB,iCAAiC;IACjC,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAA;AAEtE;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,CAAA;AAEzE;;;;;;;;GAQG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAA;AAezE;;;;;;;;;GASG;AACH,qBAAa,UAAU;IACrB;;;;;;;;;OASG;IACH,yBAAyB,SAAgB;IAEzC;;;;;;;;;OASG;IACH,cAAc,SAAS;IAEvB;;;;;;;;;OASG;IACH,aAAa,SAAQ;IAErB;;;;;;;;OAQG;IACH,OAAO,SAAM;IAEb;;;;;;;;OAQG;IACH,WAAW,SAAS;IAEpB;;;;;;;;OAQG;IACH,UAAU,SAAQ;IAElB;;;;;;;;OAQG;IACH,gBAAgB,SAA0B;IAE1C;;;;;;;OAOG;IACH,sCAAsC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAE3D;;;;;;;;;OASG;IACH,aAAa,SAAK;IAElB;;;;;;;;OAQG;IACH,uBAAuB,SAAkC;IAEzD;;;;;;;;OAQG;IACH,oBAAoB,SAA4B;IAEhD;;;;;;;;OAQG;IACH,cAAc,SAA0C;IAExD;;;;;;;;OAQG;IACH,WAAW,SAAc;IAEzB;;;;;;;;OAQ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