@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
@@ -5,149 +5,24 @@ import { CompoundBase } from './compound-base-vm.js';
5
5
  import { DescriptionAnchor, DescriptionTocItem, DescriptionTocList } from './description-anchors.js';
6
6
  import { Member } from './members-vm.js';
7
7
  import { CliOptions } from '../cli-options.js';
8
- /**
9
- * View model that organises data for documentation generation.
10
- *
11
- * @remarks
12
- * The ViewModel class transforms the raw Doxygen data model into structured
13
- * collections suitable for generating Docusaurus documentation, including
14
- * classes, files, namespaces, and other compound types. It coordinates the
15
- * entire view model creation process, from object instantiation through
16
- * hierarchy establishment to cross-reference resolution.
17
- *
18
- * @public
19
- */
20
8
  export declare class ViewModel {
21
- /** Configuration options controlling the view model behaviour. */
22
9
  options: CliOptions;
23
- /** Reference to the parent workspace containing the data model. */
24
10
  workspace: Workspace;
25
- /** Map of collection names to their corresponding collection objects. */
26
11
  collections: Map<string, CollectionBase>;
27
- /** Map of compound identifiers to their view model objects. */
28
12
  compoundsById: Map<string, CompoundBase>;
29
- /** Map of member identifiers to their view model objects. */
30
13
  membersById: Map<string, Member>;
31
- /** Array of description table of contents lists for navigation. */
32
14
  descriptionTocLists: DescriptionTocList[];
33
- /** Map of TOC item identifiers to their corresponding objects. */
34
15
  descriptionTocItemsById: Map<string, DescriptionTocItem>;
35
- /** Map of description anchor identifiers to their objects. */
36
16
  descriptionAnchorsById: Map<string, DescriptionAnchor>;
37
- /**
38
- * Constructs a new ViewModel instance.
39
- *
40
- * @remarks
41
- * Initialises the view model with a reference to the parent workspace
42
- * and sets up the collection mapping structure. This constructor prepares
43
- * the foundation for transforming raw Doxygen data into organised
44
- * documentation structures suitable for Docusaurus generation.
45
- *
46
- * @param workspace - The parent workspace containing the data model.
47
- */
48
17
  constructor(workspace: Workspace);
49
- /**
50
- * Creates and populates all view model collections and objects.
51
- *
52
- * @remarks
53
- * Orchestrates the complete view model creation process including
54
- * collection instantiation, object creation, and hierarchy establishment.
55
- * This method coordinates all phases of view model construction to ensure
56
- * proper dependencies and cross-references are established between
57
- * documentation elements.
58
- */
59
18
  create(): void;
60
- /**
61
- * Creates view model objects from the parsed Doxygen compound definitions.
62
- *
63
- * @remarks
64
- * Iterates through all compound definitions from the data model and creates
65
- * corresponding view model objects, organising them into appropriate
66
- * collections and establishing identifier mappings. This method also
67
- * processes detailed descriptions to extract navigation elements and
68
- * cross-reference anchors for comprehensive documentation structure.
69
- */
70
19
  createVieModelObjects(): void;
71
- /**
72
- * Recursively finds and processes description identifiers within elements.
73
- *
74
- * @remarks
75
- * Traverses the element hierarchy to locate table of contents items,
76
- * document sections, and anchors, creating appropriate view model
77
- * structures for navigation and cross-referencing. This recursive processing
78
- * ensures comprehensive extraction of all navigational elements from
79
- * complex documentation structures.
80
- *
81
- * @param compound - The compound containing the description elements.
82
- * @param element - The data model element to process recursively.
83
- */
84
20
  findDescriptionIdsRecursively(compound: CompoundBase, element: AbstractDataModelBase): void;
85
- /**
86
- * Establishes hierarchical relationships between compound objects.
87
- *
88
- * @remarks
89
- * Delegates to each collection to create parent-child relationships
90
- * and other hierarchical structures within the compound objects. This
91
- * phase is essential for building proper navigation trees and inheritance
92
- * relationships that reflect the original code structure.
93
- */
94
21
  createCompoundsHierarchies(): void;
95
- /**
96
- * Performs late initialisation of compound objects.
97
- *
98
- * @remarks
99
- * Executes initialisation tasks that require all objects to be created
100
- * first, allowing for proper cross-reference resolution and relationship
101
- * establishment between compounds. This phase ensures that complex
102
- * inter-compound dependencies are properly resolved after the initial
103
- * object creation phase.
104
- */
105
22
  initializeCompoundsLate(): void;
106
- /**
107
- * Creates a comprehensive map of all member definitions.
108
- *
109
- * @remarks
110
- * Iterates through all compounds and their sections to build a complete
111
- * mapping of member identifiers to their objects, enabling efficient
112
- * member lookup and cross-referencing. This method handles member
113
- * deduplication and ensures that members are properly associated with
114
- * their containing compounds.
115
- */
116
23
  createMembersMap(): void;
117
- /**
118
- * Performs late initialisation of member objects.
119
- *
120
- * @remarks
121
- * Executes member initialisation tasks that depend on all objects being
122
- * created, ensuring proper cross-references and relationships are
123
- * established between members and their containing compounds. This phase
124
- * completes the member setup process after all structural relationships
125
- * have been established.
126
- */
127
24
  initializeMemberLate(): void;
128
- /**
129
- * Validates and resolves permalink uniqueness across all compounds.
130
- *
131
- * @remarks
132
- * Ensures that all generated permalinks are unique by detecting conflicts
133
- * and automatically appending suffixes to duplicate permalinks, maintaining
134
- * proper navigation and linking functionality. This validation process is
135
- * crucial for preventing URL conflicts in the generated documentation site.
136
- */
137
- /**
138
- * @brief Validate the uniqueness of permalinks.
139
- */
140
25
  validatePermalinks(): void;
141
- /**
142
- * Performs cleanup operations on view model objects.
143
- *
144
- * @remarks
145
- * Removes references to the original compound definition data models
146
- * to free memory and prevent potential circular references after
147
- * the view model creation is complete. This cleanup phase optimises
148
- * memory usage by removing unnecessary data model references that
149
- * are no longer needed for documentation generation.
150
- */
151
26
  cleanups(): void;
152
27
  }
153
28
  //# sourceMappingURL=view-model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-model.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/view-model/view-model.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,qBAAqB,EAAE,MAAM,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IACH,kBAAkB,IAAI,IAAI;IAwE1B;;;;;;;;;OASG;IACH,QAAQ,IAAI,IAAI;CAKjB"}
1
+ {"version":3,"file":"view-model.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/view-model/view-model.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,0BAA0B,CAAA;AAGjC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAQxC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAiB9C,qBAAa,SAAS;IAEpB,OAAO,EAAE,UAAU,CAAA;IAGnB,SAAS,EAAE,SAAS,CAAA;IAKpB,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IAIxC,aAAa,4BAAkC;IAG/C,WAAW,sBAA4B;IAGvC,mBAAmB,EAAE,kBAAkB,EAAE,CAAK;IAG9C,uBAAuB,kCAAwC;IAG/D,sBAAsB,iCAAuC;gBAajD,SAAS,EAAE,SAAS;IAiBhC,MAAM;IAiCN,qBAAqB,IAAI,IAAI;IAmE7B,6BAA6B,CAC3B,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,qBAAqB,GAC7B,IAAI;IAmDP,0BAA0B,IAAI,IAAI;IA0BlC,uBAAuB,IAAI,IAAI;IA8B/B,gBAAgB,IAAI,IAAI;IAwDxB,oBAAoB,IAAI,IAAI;IAyC5B,kBAAkB,IAAI,IAAI;IAqF1B,QAAQ,IAAI,IAAI;CAKjB"}
@@ -1,14 +1,3 @@
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
1
  import assert from 'node:assert';
13
2
  import { AbstractCompoundDefType } from '../../doxygen/data-model/compounds/compounddef-dm.js';
14
3
  import { TocItemDataModel, TocListDataModel, } from '../../doxygen/data-model/compounds/tableofcontentstype-dm.js';
@@ -22,68 +11,25 @@ import { Namespaces } from './namespaces-vm.js';
22
11
  import { Pages } from './pages-vm.js';
23
12
  import { AbstractDocAnchorType, AbstractDocSectType, } from '../../doxygen/data-model/compounds/descriptiontype-dm.js';
24
13
  import { stripPermalinkHexAnchor } from '../utils.js';
25
- // ----------------------------------------------------------------------------
26
- /**
27
- * View model that organises data for documentation generation.
28
- *
29
- * @remarks
30
- * The ViewModel class transforms the raw Doxygen data model into structured
31
- * collections suitable for generating Docusaurus documentation, including
32
- * classes, files, namespaces, and other compound types. It coordinates the
33
- * entire view model creation process, from object instantiation through
34
- * hierarchy establishment to cross-reference resolution.
35
- *
36
- * @public
37
- */
14
+ import { Concepts } from './concepts-vm.js';
38
15
  export class ViewModel {
39
- /** Configuration options controlling the view model behaviour. */
40
16
  options;
41
- /** Reference to the parent workspace containing the data model. */
42
17
  workspace;
43
- /** Map of collection names to their corresponding collection objects. */
44
- // The key is one of the above collection names.
45
- // groups, classes, namespaces, files, pages.
46
18
  collections;
47
- /** Map of compound identifiers to their view model objects. */
48
- // View model objects.
49
19
  compoundsById = new Map();
50
- /** Map of member identifiers to their view model objects. */
51
20
  membersById = new Map();
52
- /** Array of description table of contents lists for navigation. */
53
21
  descriptionTocLists = [];
54
- /** Map of TOC item identifiers to their corresponding objects. */
55
22
  descriptionTocItemsById = new Map();
56
- /** Map of description anchor identifiers to their objects. */
57
23
  descriptionAnchorsById = new Map();
58
- /**
59
- * Constructs a new ViewModel instance.
60
- *
61
- * @remarks
62
- * Initialises the view model with a reference to the parent workspace
63
- * and sets up the collection mapping structure. This constructor prepares
64
- * the foundation for transforming raw Doxygen data into organised
65
- * documentation structures suitable for Docusaurus generation.
66
- *
67
- * @param workspace - The parent workspace containing the data model.
68
- */
69
24
  constructor(workspace) {
70
25
  this.workspace = workspace;
71
26
  this.options = workspace.options;
72
27
  this.collections = new Map();
73
28
  }
74
- /**
75
- * Creates and populates all view model collections and objects.
76
- *
77
- * @remarks
78
- * Orchestrates the complete view model creation process including
79
- * collection instantiation, object creation, and hierarchy establishment.
80
- * This method coordinates all phases of view model construction to ensure
81
- * proper dependencies and cross-references are established between
82
- * documentation elements.
83
- */
84
29
  create() {
85
30
  this.collections.set('groups', new Groups(this.workspace));
86
31
  this.collections.set('namespaces', new Namespaces(this.workspace));
32
+ this.collections.set('concepts', new Concepts(this.workspace));
87
33
  this.collections.set('classes', new Classes(this.workspace));
88
34
  this.collections.set('files', new FilesAndFolders(this.workspace));
89
35
  this.collections.set('pages', new Pages(this.workspace));
@@ -95,17 +41,6 @@ export class ViewModel {
95
41
  this.validatePermalinks();
96
42
  this.cleanups();
97
43
  }
98
- // --------------------------------------------------------------------------
99
- /**
100
- * Creates view model objects from the parsed Doxygen compound definitions.
101
- *
102
- * @remarks
103
- * Iterates through all compound definitions from the data model and creates
104
- * corresponding view model objects, organising them into appropriate
105
- * collections and establishing identifier mappings. This method also
106
- * processes detailed descriptions to extract navigation elements and
107
- * cross-reference anchors for comprehensive documentation structure.
108
- */
109
44
  createVieModelObjects() {
110
45
  console.log('Creating view model objects...');
111
46
  for (const compoundDefDataModel of this.workspace.dataModel.compoundDefs) {
@@ -114,14 +49,11 @@ export class ViewModel {
114
49
  const collectionName = this.workspace.collectionNamesByKind[kind];
115
50
  const collection = this.collections.get(collectionName);
116
51
  if (collection !== undefined) {
117
- // Create the compound object and add it to the parent collection.
118
- // console.log(
119
- // compoundDefDataModel.kind, compoundDefDataModel.compoundName
120
- // )
52
+ if (this.options.debug) {
53
+ console.log(compoundDefDataModel.kind, compoundDefDataModel.compoundName);
54
+ }
121
55
  compound = collection.addChild(compoundDefDataModel);
122
- // Also add it to the global compounds map.
123
56
  this.compoundsById.set(compound.id, compound);
124
- // console.log('compoundsById.set', compound.kind, compound.id)
125
57
  }
126
58
  if (compound !== undefined) {
127
59
  if (compoundDefDataModel instanceof AbstractCompoundDefType &&
@@ -130,39 +62,20 @@ export class ViewModel {
130
62
  }
131
63
  }
132
64
  else {
133
- // console.error(
134
- // util.inspect(compoundDefDataModel, { compact: false, depth: 999 })
135
- // )
136
65
  console.error('compoundDefDataModel', compoundDefDataModel.kind, 'not implemented yet in', this.constructor.name, 'createVieModelObjects');
137
66
  }
138
67
  }
139
68
  if (this.options.verbose) {
140
69
  console.log(this.compoundsById.size, 'compound definitions');
141
70
  }
142
- // console.log(this.descriptionTocLists)
143
71
  }
144
- /**
145
- * Recursively finds and processes description identifiers within elements.
146
- *
147
- * @remarks
148
- * Traverses the element hierarchy to locate table of contents items,
149
- * document sections, and anchors, creating appropriate view model
150
- * structures for navigation and cross-referencing. This recursive processing
151
- * ensures comprehensive extraction of all navigational elements from
152
- * complex documentation structures.
153
- *
154
- * @param compound - The compound containing the description elements.
155
- * @param element - The data model element to process recursively.
156
- */
157
72
  findDescriptionIdsRecursively(compound, element) {
158
- // console.log(compound.id, typeof element)
159
73
  if (element.children === undefined) {
160
74
  return;
161
75
  }
162
76
  for (const childDataModel of element.children) {
163
77
  if (childDataModel instanceof TocListDataModel) {
164
78
  const tocList = new DescriptionTocList(compound);
165
- // console.log(elementChild)
166
79
  assert(childDataModel.tocItems !== undefined);
167
80
  for (const tocItemDataModel of childDataModel.tocItems) {
168
81
  if (tocItemDataModel instanceof TocItemDataModel) {
@@ -181,55 +94,31 @@ export class ViewModel {
181
94
  this.findDescriptionIdsRecursively(compound, childDataModel);
182
95
  }
183
96
  else if (childDataModel instanceof AbstractDocAnchorType) {
184
- // console.log(childDataModel)
185
97
  if (childDataModel.id.length > 0) {
186
98
  const section = new DescriptionAnchor(compound, childDataModel.id);
187
99
  this.descriptionAnchorsById.set(section.id, section);
188
100
  }
189
101
  }
190
102
  else if (childDataModel instanceof AbstractDataModelBase) {
191
- // if (childDataModel instanceof AbstractDocEntryType) {
192
- // console.log(childDataModel)
193
- // }
194
103
  this.findDescriptionIdsRecursively(compound, childDataModel);
195
104
  }
196
105
  }
197
106
  }
198
- // --------------------------------------------------------------------------
199
- /**
200
- * Establishes hierarchical relationships between compound objects.
201
- *
202
- * @remarks
203
- * Delegates to each collection to create parent-child relationships
204
- * and other hierarchical structures within the compound objects. This
205
- * phase is essential for building proper navigation trees and inheritance
206
- * relationships that reflect the original code structure.
207
- */
208
107
  createCompoundsHierarchies() {
108
+ if (this.options.verbose) {
109
+ console.log();
110
+ }
209
111
  console.log('Creating compounds hierarchies...');
210
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
211
112
  for (const [collectionName, collection] of this.collections) {
212
- // console.log('createHierarchies:', collectionName)
213
113
  collection.createCompoundsHierarchies();
214
114
  }
215
115
  }
216
- // --------------------------------------------------------------------------
217
- /**
218
- * Performs late initialisation of compound objects.
219
- *
220
- * @remarks
221
- * Executes initialisation tasks that require all objects to be created
222
- * first, allowing for proper cross-reference resolution and relationship
223
- * establishment between compounds. This phase ensures that complex
224
- * inter-compound dependencies are properly resolved after the initial
225
- * object creation phase.
226
- */
227
- // Required since references can be resolved only after all objects are in.
228
116
  initializeCompoundsLate() {
117
+ if (this.options.verbose) {
118
+ console.log();
119
+ }
229
120
  console.log('Performing compounds late initializations...');
230
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
231
121
  for (const [collectionName, collection] of this.collections) {
232
- // console.log('createHierarchies:', collectionName)
233
122
  for (const [, compound] of collection.collectionCompoundsById) {
234
123
  if (this.options.debug) {
235
124
  console.log(compound.kind, compound.compoundName);
@@ -238,35 +127,19 @@ export class ViewModel {
238
127
  }
239
128
  }
240
129
  }
241
- // --------------------------------------------------------------------------
242
- /**
243
- * Creates a comprehensive map of all member definitions.
244
- *
245
- * @remarks
246
- * Iterates through all compounds and their sections to build a complete
247
- * mapping of member identifiers to their objects, enabling efficient
248
- * member lookup and cross-referencing. This method handles member
249
- * deduplication and ensures that members are properly associated with
250
- * their containing compounds.
251
- */
252
130
  createMembersMap() {
131
+ if (this.options.verbose) {
132
+ console.log();
133
+ }
253
134
  console.log('Creating member definitions map...');
254
135
  for (const [, compound] of this.compoundsById) {
255
- // console.log(compound.kind, compound.compoundName, compound.id)
256
136
  for (const section of compound.sections) {
257
- // console.log(' ', sectionDef.kind)
258
137
  for (const member of section.indexMembers) {
259
138
  if (member instanceof Member) {
260
139
  const memberCompoundId = stripPermalinkHexAnchor(member.id);
261
140
  if (memberCompoundId !== compound.id) {
262
- // Skip member definitions from different compounds.
263
- // Hopefully they are defined properly there.
264
- // console.log(
265
- // 'member from another compound', compoundId, 'skipped'
266
- // )
267
141
  }
268
142
  else {
269
- // console.log(' ', memberDef.kind, memberDef.id)
270
143
  if (this.membersById.has(member.id)) {
271
144
  if (this.options.verbose) {
272
145
  console.warn('member already in map', member.id, 'in', this.membersById.get(member.id)?.name);
@@ -284,19 +157,10 @@ export class ViewModel {
284
157
  console.log(this.membersById.size, 'member definitions');
285
158
  }
286
159
  }
287
- // --------------------------------------------------------------------------
288
- /**
289
- * Performs late initialisation of member objects.
290
- *
291
- * @remarks
292
- * Executes member initialisation tasks that depend on all objects being
293
- * created, ensuring proper cross-references and relationships are
294
- * established between members and their containing compounds. This phase
295
- * completes the member setup process after all structural relationships
296
- * have been established.
297
- */
298
- // Required since references can be resolved only after all objects are in.
299
160
  initializeMemberLate() {
161
+ if (this.options.verbose) {
162
+ console.log();
163
+ }
300
164
  console.log('Performing members late initializations...');
301
165
  for (const [, compound] of this.compoundsById) {
302
166
  if (this.options.debug) {
@@ -318,27 +182,14 @@ export class ViewModel {
318
182
  }
319
183
  }
320
184
  }
321
- // --------------------------------------------------------------------------
322
- /**
323
- * Validates and resolves permalink uniqueness across all compounds.
324
- *
325
- * @remarks
326
- * Ensures that all generated permalinks are unique by detecting conflicts
327
- * and automatically appending suffixes to duplicate permalinks, maintaining
328
- * proper navigation and linking functionality. This validation process is
329
- * crucial for preventing URL conflicts in the generated documentation site.
330
- */
331
- /**
332
- * @brief Validate the uniqueness of permalinks.
333
- */
334
185
  validatePermalinks() {
186
+ if (this.options.verbose) {
187
+ console.log();
188
+ }
335
189
  console.log('Validating permalinks...');
336
190
  const pagePermalinksById = new Map();
337
191
  const compoundsByPermalink = new Map();
338
192
  for (const compoundDefDataModel of this.workspace.dataModel.compoundDefs) {
339
- // console.log(
340
- // compoundDefDataModel.kind, compoundDefDataModel.compoundName
341
- // )
342
193
  const { id } = compoundDefDataModel;
343
194
  if (pagePermalinksById.has(id)) {
344
195
  console.warn('Duplicate id', id);
@@ -350,7 +201,6 @@ export class ViewModel {
350
201
  }
351
202
  const permalink = compound.relativePermalink;
352
203
  if (permalink !== undefined) {
353
- // console.log('permalink:', permalink)
354
204
  let compoundsMap = compoundsByPermalink.get(permalink);
355
205
  if (compoundsMap === undefined) {
356
206
  compoundsMap = new Map();
@@ -382,22 +232,10 @@ export class ViewModel {
382
232
  }
383
233
  }
384
234
  }
385
- // --------------------------------------------------------------------------
386
- /**
387
- * Performs cleanup operations on view model objects.
388
- *
389
- * @remarks
390
- * Removes references to the original compound definition data models
391
- * to free memory and prevent potential circular references after
392
- * the view model creation is complete. This cleanup phase optimises
393
- * memory usage by removing unnecessary data model references that
394
- * are no longer needed for documentation generation.
395
- */
396
235
  cleanups() {
397
236
  for (const [, compound] of this.compoundsById) {
398
237
  compound._private._compoundDef = undefined;
399
238
  }
400
239
  }
401
240
  }
402
- // ----------------------------------------------------------------------------
403
241
  //# sourceMappingURL=view-model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-model.js","sourceRoot":"","sources":["../../../src/docusaurus/view-model/view-model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;A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