@xpack/doxygen2docusaurus 1.0.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/README.md +3 -4
  2. package/dist/cli/main.d.ts +6 -0
  3. package/dist/cli/main.d.ts.map +1 -1
  4. package/dist/cli/main.js +29 -2
  5. package/dist/cli/main.js.map +1 -1
  6. package/dist/docusaurus/cli-options.d.ts +268 -39
  7. package/dist/docusaurus/cli-options.d.ts.map +1 -1
  8. package/dist/docusaurus/cli-options.js +267 -53
  9. package/dist/docusaurus/cli-options.js.map +1 -1
  10. package/dist/docusaurus/generator.d.ts +179 -4
  11. package/dist/docusaurus/generator.d.ts.map +1 -1
  12. package/dist/docusaurus/generator.js +215 -45
  13. package/dist/docusaurus/generator.js.map +1 -1
  14. package/dist/docusaurus/renderers/descriptiontype.d.ts +417 -0
  15. package/dist/docusaurus/renderers/descriptiontype.d.ts.map +1 -1
  16. package/dist/docusaurus/renderers/descriptiontype.js +417 -0
  17. package/dist/docusaurus/renderers/descriptiontype.js.map +1 -1
  18. package/dist/docusaurus/renderers/docinternalstype.d.ts +132 -0
  19. package/dist/docusaurus/renderers/docinternalstype.d.ts.map +1 -1
  20. package/dist/docusaurus/renderers/docinternalstype.js +132 -0
  21. package/dist/docusaurus/renderers/docinternalstype.js.map +1 -1
  22. package/dist/docusaurus/renderers/doclisttype.d.ts +22 -0
  23. package/dist/docusaurus/renderers/doclisttype.d.ts.map +1 -1
  24. package/dist/docusaurus/renderers/doclisttype.js +22 -2
  25. package/dist/docusaurus/renderers/doclisttype.js.map +1 -1
  26. package/dist/docusaurus/renderers/doctabletype.d.ts +88 -0
  27. package/dist/docusaurus/renderers/doctabletype.d.ts.map +1 -1
  28. package/dist/docusaurus/renderers/doctabletype.js +88 -0
  29. package/dist/docusaurus/renderers/doctabletype.js.map +1 -1
  30. package/dist/docusaurus/renderers/doctitletype.d.ts +22 -0
  31. package/dist/docusaurus/renderers/doctitletype.d.ts.map +1 -1
  32. package/dist/docusaurus/renderers/doctitletype.js +22 -0
  33. package/dist/docusaurus/renderers/doctitletype.js.map +1 -1
  34. package/dist/docusaurus/renderers/docvariablelisttype.d.ts +44 -0
  35. package/dist/docusaurus/renderers/docvariablelisttype.d.ts.map +1 -1
  36. package/dist/docusaurus/renderers/docvariablelisttype.js +44 -0
  37. package/dist/docusaurus/renderers/docvariablelisttype.js.map +1 -1
  38. package/dist/docusaurus/renderers/docxrefsecttype.d.ts +22 -0
  39. package/dist/docusaurus/renderers/docxrefsecttype.d.ts.map +1 -1
  40. package/dist/docusaurus/renderers/docxrefsecttype.js +22 -0
  41. package/dist/docusaurus/renderers/docxrefsecttype.js.map +1 -1
  42. package/dist/docusaurus/renderers/element-renderer-base.d.ts +74 -0
  43. package/dist/docusaurus/renderers/element-renderer-base.d.ts.map +1 -1
  44. package/dist/docusaurus/renderers/element-renderer-base.js +52 -0
  45. package/dist/docusaurus/renderers/element-renderer-base.js.map +1 -1
  46. package/dist/docusaurus/renderers/inctype.d.ts +23 -0
  47. package/dist/docusaurus/renderers/inctype.d.ts.map +1 -1
  48. package/dist/docusaurus/renderers/inctype.js +23 -0
  49. package/dist/docusaurus/renderers/inctype.js.map +1 -1
  50. package/dist/docusaurus/renderers/linkedtexttype.d.ts +22 -0
  51. package/dist/docusaurus/renderers/linkedtexttype.d.ts.map +1 -1
  52. package/dist/docusaurus/renderers/linkedtexttype.js +22 -0
  53. package/dist/docusaurus/renderers/linkedtexttype.js.map +1 -1
  54. package/dist/docusaurus/renderers/listingtype.d.ts +52 -0
  55. package/dist/docusaurus/renderers/listingtype.d.ts.map +1 -1
  56. package/dist/docusaurus/renderers/listingtype.js +66 -2
  57. package/dist/docusaurus/renderers/listingtype.js.map +1 -1
  58. package/dist/docusaurus/renderers/paramtype.d.ts +22 -0
  59. package/dist/docusaurus/renderers/paramtype.d.ts.map +1 -1
  60. package/dist/docusaurus/renderers/paramtype.js +22 -0
  61. package/dist/docusaurus/renderers/paramtype.js.map +1 -1
  62. package/dist/docusaurus/renderers/referencetype.d.ts +23 -0
  63. package/dist/docusaurus/renderers/referencetype.d.ts.map +1 -1
  64. package/dist/docusaurus/renderers/referencetype.js +23 -2
  65. package/dist/docusaurus/renderers/referencetype.js.map +1 -1
  66. package/dist/docusaurus/renderers/reftexttype.d.ts +22 -0
  67. package/dist/docusaurus/renderers/reftexttype.d.ts.map +1 -1
  68. package/dist/docusaurus/renderers/reftexttype.js +22 -0
  69. package/dist/docusaurus/renderers/reftexttype.js.map +1 -1
  70. package/dist/docusaurus/renderers/reftype.d.ts +22 -0
  71. package/dist/docusaurus/renderers/reftype.d.ts.map +1 -1
  72. package/dist/docusaurus/renderers/reftype.js +22 -0
  73. package/dist/docusaurus/renderers/reftype.js.map +1 -1
  74. package/dist/docusaurus/renderers/renderers.d.ts +151 -0
  75. package/dist/docusaurus/renderers/renderers.d.ts.map +1 -1
  76. package/dist/docusaurus/renderers/renderers.js +151 -0
  77. package/dist/docusaurus/renderers/renderers.js.map +1 -1
  78. package/dist/docusaurus/renderers/substringtype.d.ts +22 -0
  79. package/dist/docusaurus/renderers/substringtype.d.ts.map +1 -1
  80. package/dist/docusaurus/renderers/substringtype.js +22 -0
  81. package/dist/docusaurus/renderers/substringtype.js.map +1 -1
  82. package/dist/docusaurus/renderers/tableofcontentstype.d.ts +22 -0
  83. package/dist/docusaurus/renderers/tableofcontentstype.d.ts.map +1 -1
  84. package/dist/docusaurus/renderers/tableofcontentstype.js +22 -0
  85. package/dist/docusaurus/renderers/tableofcontentstype.js.map +1 -1
  86. package/dist/docusaurus/types.d.ts +114 -8
  87. package/dist/docusaurus/types.d.ts.map +1 -1
  88. package/dist/docusaurus/types.js.map +1 -1
  89. package/dist/docusaurus/utils.d.ts +214 -0
  90. package/dist/docusaurus/utils.d.ts.map +1 -1
  91. package/dist/docusaurus/utils.js +214 -0
  92. package/dist/docusaurus/utils.js.map +1 -1
  93. package/dist/docusaurus/view-model/classes-vm.d.ts +139 -2
  94. package/dist/docusaurus/view-model/classes-vm.d.ts.map +1 -1
  95. package/dist/docusaurus/view-model/classes-vm.js +147 -6
  96. package/dist/docusaurus/view-model/classes-vm.js.map +1 -1
  97. package/dist/docusaurus/view-model/collection-base.d.ts +122 -2
  98. package/dist/docusaurus/view-model/collection-base.d.ts.map +1 -1
  99. package/dist/docusaurus/view-model/collection-base.js +78 -0
  100. package/dist/docusaurus/view-model/collection-base.js.map +1 -1
  101. package/dist/docusaurus/view-model/compound-base-vm.d.ts +134 -19
  102. package/dist/docusaurus/view-model/compound-base-vm.d.ts.map +1 -1
  103. package/dist/docusaurus/view-model/compound-base-vm.js +122 -26
  104. package/dist/docusaurus/view-model/compound-base-vm.js.map +1 -1
  105. package/dist/docusaurus/view-model/description-anchors.d.ts +58 -0
  106. package/dist/docusaurus/view-model/description-anchors.d.ts.map +1 -1
  107. package/dist/docusaurus/view-model/description-anchors.js +58 -0
  108. package/dist/docusaurus/view-model/description-anchors.js.map +1 -1
  109. package/dist/docusaurus/view-model/files-and-folders-vm.d.ts +249 -2
  110. package/dist/docusaurus/view-model/files-and-folders-vm.d.ts.map +1 -1
  111. package/dist/docusaurus/view-model/files-and-folders-vm.js +250 -4
  112. package/dist/docusaurus/view-model/files-and-folders-vm.js.map +1 -1
  113. package/dist/docusaurus/view-model/groups-vm.d.ts +150 -2
  114. package/dist/docusaurus/view-model/groups-vm.d.ts.map +1 -1
  115. package/dist/docusaurus/view-model/groups-vm.js +153 -5
  116. package/dist/docusaurus/view-model/groups-vm.js.map +1 -1
  117. package/dist/docusaurus/view-model/members-vm.d.ts +552 -0
  118. package/dist/docusaurus/view-model/members-vm.d.ts.map +1 -1
  119. package/dist/docusaurus/view-model/members-vm.js +552 -4
  120. package/dist/docusaurus/view-model/members-vm.js.map +1 -1
  121. package/dist/docusaurus/view-model/namespaces-vm.d.ts +201 -2
  122. package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
  123. package/dist/docusaurus/view-model/namespaces-vm.js +202 -4
  124. package/dist/docusaurus/view-model/namespaces-vm.js.map +1 -1
  125. package/dist/docusaurus/view-model/options.d.ts +43 -0
  126. package/dist/docusaurus/view-model/options.d.ts.map +1 -1
  127. package/dist/docusaurus/view-model/options.js +43 -0
  128. package/dist/docusaurus/view-model/options.js.map +1 -1
  129. package/dist/docusaurus/view-model/pages-vm.d.ts +117 -2
  130. package/dist/docusaurus/view-model/pages-vm.d.ts.map +1 -1
  131. package/dist/docusaurus/view-model/pages-vm.js +119 -4
  132. package/dist/docusaurus/view-model/pages-vm.js.map +1 -1
  133. package/dist/docusaurus/view-model/tree-entries-vm.d.ts +135 -15
  134. package/dist/docusaurus/view-model/tree-entries-vm.d.ts.map +1 -1
  135. package/dist/docusaurus/view-model/tree-entries-vm.js +136 -16
  136. package/dist/docusaurus/view-model/tree-entries-vm.js.map +1 -1
  137. package/dist/docusaurus/view-model/view-model.d.ts +119 -0
  138. package/dist/docusaurus/view-model/view-model.d.ts.map +1 -1
  139. package/dist/docusaurus/view-model/view-model.js +119 -0
  140. package/dist/docusaurus/view-model/view-model.js.map +1 -1
  141. package/dist/docusaurus/workspace.d.ts +106 -0
  142. package/dist/docusaurus/workspace.d.ts.map +1 -1
  143. package/dist/docusaurus/workspace.js +107 -1
  144. package/dist/docusaurus/workspace.js.map +1 -1
  145. package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts +485 -0
  146. package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
  147. package/dist/doxygen/data-model/compounds/compounddef-dm.js +485 -0
  148. package/dist/doxygen/data-model/compounds/compounddef-dm.js.map +1 -1
  149. package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts +120 -0
  150. package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts.map +1 -1
  151. package/dist/doxygen/data-model/compounds/compoundreftype-dm.js +98 -0
  152. package/dist/doxygen/data-model/compounds/compoundreftype-dm.js.map +1 -1
  153. package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts +2705 -0
  154. package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts.map +1 -1
  155. package/dist/doxygen/data-model/compounds/descriptiontype-dm.js +2677 -47
  156. package/dist/doxygen/data-model/compounds/descriptiontype-dm.js.map +1 -1
  157. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts +165 -0
  158. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts.map +1 -1
  159. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js +165 -0
  160. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js.map +1 -1
  161. package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts +70 -0
  162. package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts.map +1 -1
  163. package/dist/doxygen/data-model/compounds/doxygentype-dm.js +70 -0
  164. package/dist/doxygen/data-model/compounds/doxygentype-dm.js.map +1 -1
  165. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts +78 -0
  166. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts.map +1 -1
  167. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js +78 -0
  168. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js.map +1 -1
  169. package/dist/doxygen/data-model/compounds/inctype-dm.d.ts +107 -0
  170. package/dist/doxygen/data-model/compounds/inctype-dm.d.ts.map +1 -1
  171. package/dist/doxygen/data-model/compounds/inctype-dm.js +107 -0
  172. package/dist/doxygen/data-model/compounds/inctype-dm.js.map +1 -1
  173. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts +123 -0
  174. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts.map +1 -1
  175. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js +123 -0
  176. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js.map +1 -1
  177. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts +70 -0
  178. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts.map +1 -1
  179. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js +70 -1
  180. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js.map +1 -1
  181. package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts +156 -0
  182. package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts.map +1 -1
  183. package/dist/doxygen/data-model/compounds/locationtype-dm.js +156 -5
  184. package/dist/doxygen/data-model/compounds/locationtype-dm.js.map +1 -1
  185. package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts +433 -0
  186. package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts.map +1 -1
  187. package/dist/doxygen/data-model/compounds/memberdeftype-dm.js +417 -6
  188. package/dist/doxygen/data-model/compounds/memberdeftype-dm.js.map +1 -1
  189. package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts +135 -0
  190. package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts.map +1 -1
  191. package/dist/doxygen/data-model/compounds/memberreftype-dm.js +136 -4
  192. package/dist/doxygen/data-model/compounds/memberreftype-dm.js.map +1 -1
  193. package/dist/doxygen/data-model/compounds/membertype-dm.d.ts +95 -0
  194. package/dist/doxygen/data-model/compounds/membertype-dm.d.ts.map +1 -1
  195. package/dist/doxygen/data-model/compounds/membertype-dm.js +76 -4
  196. package/dist/doxygen/data-model/compounds/membertype-dm.js.map +1 -1
  197. package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts +158 -0
  198. package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts.map +1 -1
  199. package/dist/doxygen/data-model/compounds/paramtype-dm.js +158 -1
  200. package/dist/doxygen/data-model/compounds/paramtype-dm.js.map +1 -1
  201. package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts +130 -0
  202. package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts.map +1 -1
  203. package/dist/doxygen/data-model/compounds/referencetype-dm.js +130 -2
  204. package/dist/doxygen/data-model/compounds/referencetype-dm.js.map +1 -1
  205. package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts +120 -0
  206. package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts.map +1 -1
  207. package/dist/doxygen/data-model/compounds/reftexttype-dm.js +106 -3
  208. package/dist/doxygen/data-model/compounds/reftexttype-dm.js.map +1 -1
  209. package/dist/doxygen/data-model/compounds/reftype-dm.d.ts +247 -0
  210. package/dist/doxygen/data-model/compounds/reftype-dm.d.ts.map +1 -1
  211. package/dist/doxygen/data-model/compounds/reftype-dm.js +247 -3
  212. package/dist/doxygen/data-model/compounds/reftype-dm.js.map +1 -1
  213. package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts +99 -0
  214. package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts.map +1 -1
  215. package/dist/doxygen/data-model/compounds/reimplementtype-dm.js +99 -2
  216. package/dist/doxygen/data-model/compounds/reimplementtype-dm.js.map +1 -1
  217. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts +159 -0
  218. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts.map +1 -1
  219. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js +159 -3
  220. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js.map +1 -1
  221. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts +255 -0
  222. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts.map +1 -1
  223. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js +255 -6
  224. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js.map +1 -1
  225. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts +60 -0
  226. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts.map +1 -1
  227. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js +60 -1
  228. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js.map +1 -1
  229. package/dist/doxygen/data-model/data-model.d.ts +86 -2
  230. package/dist/doxygen/data-model/data-model.d.ts.map +1 -1
  231. package/dist/doxygen/data-model/data-model.js +86 -4
  232. package/dist/doxygen/data-model/data-model.js.map +1 -1
  233. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts +109 -0
  234. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts.map +1 -1
  235. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js +84 -2
  236. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js.map +1 -1
  237. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts +81 -0
  238. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts.map +1 -1
  239. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js +81 -3
  240. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js.map +1 -1
  241. package/dist/doxygen/data-model/doxygen-xml-parser.d.ts +24 -7
  242. package/dist/doxygen/data-model/doxygen-xml-parser.d.ts.map +1 -1
  243. package/dist/doxygen/data-model/doxygen-xml-parser.js +24 -22
  244. package/dist/doxygen/data-model/doxygen-xml-parser.js.map +1 -1
  245. package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts +92 -0
  246. package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts.map +1 -1
  247. package/dist/doxygen/data-model/index/indexcompoundtype-dm.js +79 -2
  248. package/dist/doxygen/data-model/index/indexcompoundtype-dm.js.map +1 -1
  249. package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts +76 -0
  250. package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts.map +1 -1
  251. package/dist/doxygen/data-model/index/indexdoxygentype-dm.js +76 -3
  252. package/dist/doxygen/data-model/index/indexdoxygentype-dm.js.map +1 -1
  253. package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts +79 -0
  254. package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts.map +1 -1
  255. package/dist/doxygen/data-model/index/indexmembertype-dm.js +66 -2
  256. package/dist/doxygen/data-model/index/indexmembertype-dm.js.map +1 -1
  257. package/dist/doxygen/data-model/types.d.ts +96 -1
  258. package/dist/doxygen/data-model/types.d.ts.map +1 -1
  259. package/dist/doxygen/data-model/types.js +37 -0
  260. package/dist/doxygen/data-model/types.js.map +1 -1
  261. package/dist/doxygen2docusaurus.d.ts +4774 -0
  262. package/dist/tsdoc-metadata.json +11 -0
  263. package/package.json +11 -7
  264. /package/{template → templates}/css/custom.css +0 -0
  265. /package/{template → templates}/img/README.md +0 -0
  266. /package/{template → templates}/img/document-svgrepo-com.svg +0 -0
  267. /package/{template → templates}/img/folder-svgrepo-com.svg +0 -0
@@ -13,7 +13,29 @@
13
13
  // import * as util from 'node:util'
14
14
  import { ElementLinesRendererBase, ElementStringRendererBase, } from './element-renderer-base.js';
15
15
  // ----------------------------------------------------------------------------
16
+ /**
17
+ * Renderer for Doxygen document table elements.
18
+ *
19
+ * @remarks
20
+ * Converts Doxygen table structures to HTML table format with optional
21
+ * captions. Processes table rows and maintains styling through CSS
22
+ * classes for consistent documentation presentation.
23
+ *
24
+ * @public
25
+ */
16
26
  export class DocTableTypeLinesRenderer extends ElementLinesRendererBase {
27
+ /**
28
+ * Renders a document table element to formatted output lines.
29
+ *
30
+ * @remarks
31
+ * Creates HTML table structure with optional caption and processes
32
+ * all table rows. Applies CSS classes for styling and maintains
33
+ * proper table markup for documentation display.
34
+ *
35
+ * @param element - The document table element to render
36
+ * @param type - The rendering context type (unused in implementation)
37
+ * @returns Array of HTML strings forming the table structure
38
+ */
17
39
  renderToLines(element,
18
40
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
19
41
  type) {
@@ -29,7 +51,29 @@ export class DocTableTypeLinesRenderer extends ElementLinesRendererBase {
29
51
  return lines;
30
52
  }
31
53
  }
54
+ /**
55
+ * Renderer for Doxygen document table caption elements.
56
+ *
57
+ * @remarks
58
+ * Generates HTML caption elements for table titles and descriptions.
59
+ * Processes caption content to provide contextual information about
60
+ * table contents and purpose within documentation.
61
+ *
62
+ * @public
63
+ */
32
64
  export class DocCaptionLinesRenderer extends ElementLinesRendererBase {
65
+ /**
66
+ * Renders a document caption element to formatted output lines.
67
+ *
68
+ * @remarks
69
+ * Creates HTML caption element containing the processed caption content.
70
+ * Renders child elements to build complete caption text with proper
71
+ * markup and formatting preservation.
72
+ *
73
+ * @param element - The document caption element to render
74
+ * @param type - The rendering context type (unused in implementation)
75
+ * @returns Array containing the HTML caption element
76
+ */
33
77
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
34
78
  renderToLines(element, type) {
35
79
  // console.log(util.inspect(element, { compact: false, depth: 999 }))
@@ -46,7 +90,29 @@ export class DocCaptionLinesRenderer extends ElementLinesRendererBase {
46
90
  return [text];
47
91
  }
48
92
  }
93
+ /**
94
+ * Renderer for Doxygen document table row elements.
95
+ *
96
+ * @remarks
97
+ * Generates HTML table row structure containing table entries.
98
+ * Processes all entry elements within the row to build complete
99
+ * table row markup for documentation display.
100
+ *
101
+ * @public
102
+ */
49
103
  export class DocRowTypeLinesRenderer extends ElementLinesRendererBase {
104
+ /**
105
+ * Renders a document table row element to formatted output lines.
106
+ *
107
+ * @remarks
108
+ * Creates HTML table row tags around rendered table entries.
109
+ * Processes entry elements to generate the complete row structure
110
+ * with proper table markup.
111
+ *
112
+ * @param element - The document table row element to render
113
+ * @param type - The rendering context type (unused in implementation)
114
+ * @returns Array of HTML strings forming the table row
115
+ */
50
116
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
51
117
  renderToLines(element, type) {
52
118
  // console.log(util.inspect(element, { compact: false, depth: 999 }))
@@ -57,7 +123,29 @@ export class DocRowTypeLinesRenderer extends ElementLinesRendererBase {
57
123
  return lines;
58
124
  }
59
125
  }
126
+ /**
127
+ * Renderer for Doxygen document table entry elements.
128
+ *
129
+ * @remarks
130
+ * Converts table cell elements to HTML table data or header cells
131
+ * with appropriate attributes. Handles cell spanning, alignment,
132
+ * and styling attributes for flexible table presentation.
133
+ *
134
+ * @public
135
+ */
60
136
  export class DocEntryTypeStringRenderer extends ElementStringRendererBase {
137
+ /**
138
+ * Renders a document table entry element to a formatted string.
139
+ *
140
+ * @remarks
141
+ * Creates HTML table cell (td or th) with attributes including
142
+ * colspan, rowspan, alignment, and styling. Processes cell content
143
+ * and applies appropriate markup based on header status.
144
+ *
145
+ * @param element - The document table entry element to render
146
+ * @param type - The rendering context type (unused in implementation)
147
+ * @returns The formatted HTML table cell string
148
+ */
61
149
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
62
150
  renderToString(element, type) {
63
151
  // console.log(util.inspect(element, { compact: false, depth: 999 }))
@@ -1 +1 @@
1
- {"version":3,"file":"doctabletype.js","sourceRoot":"","sources":["../../../src/docusaurus/renderers/doctabletype.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAE/E,mCAAmC;AACnC,oCAAoC;AAEpC,OAAO,EACL,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,4BAA4B,CAAA;AAQnC,+EAA+E;AAE/E,MAAM,OAAO,yBAA0B,SAAQ,wBAAwB;IAC5D,aAAa,CACpB,OAA6B;IAC7B,6DAA6D;IAC7D,IAAY;QAEZ,qEAAqE;QAErE,MAAM,KAAK,GAAa,EAAE,CAAA;QAE1B,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;QACd,KAAK,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAA;QACvC,IAAI,OAAO,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;YAClC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,qBAAqB,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAA;QAC3E,CAAC;QACD,KAAK,CAAC,IAAI,CACR,GAAG,IAAI,CAAC,SAAS,CAAC,0BAA0B,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CACnE,CAAA;QACD,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;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AC,KAAK,GAAG,CAAA;QAC3C,CAAC;QACD,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;YACjC,UAAU,IAAI,YAAY,OAAO,CAAC,MAAM,GAAG,CAAA;QAC7C,CAAC;QACD,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAChC,UAAU,IAAI,WAAW,OAAO,CAAC,KAAK,GAAG,CAAA;QAC3C,CAAC;QACD,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;YACjC,UAAU,IAAI,WAAW,OAAO,CAAC,MAAM,GAAG,CAAA;QAC5C,CAAC;QAED,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAC9C,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS;aACzB,2BAA2B,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC;aAClD,IAAI,EAAE,CAAA;QACT,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;YAClB,IAAI,IAAI,MAAM,UAAU,IAAI,KAAK,OAAO,CAAA;QAC1C,CAAC;aAAM,CAAC;YACN,IAAI,IAAI,MAAM,UAAU,IAAI,KAAK,OAAO,CAAA;QAC1C,CAAC;QACD,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AAED,+EAA+E"}
@@ -1,6 +1,28 @@
1
1
  import { ElementLinesRendererBase } from './element-renderer-base.js';
2
2
  import { type AbstractDocTitleType } from '../../doxygen/data-model/compounds/descriptiontype-dm.js';
3
+ /**
4
+ * Renderer for Doxygen document title elements.
5
+ *
6
+ * @remarks
7
+ * Handles title and term elements within documentation structures.
8
+ * Supports polymorphic rendering for different title types while
9
+ * providing error handling for unrecognised element variations.
10
+ *
11
+ * @public
12
+ */
3
13
  export declare class DocTitleTypeLinesRenderer extends ElementLinesRendererBase {
14
+ /**
15
+ * Renders a document title element to formatted output lines.
16
+ *
17
+ * @remarks
18
+ * Processes title and term data models by rendering their child elements.
19
+ * Logs errors for unrecognised title types that require implementation
20
+ * support for complete documentation coverage.
21
+ *
22
+ * @param element - The document title element to render
23
+ * @param type - The rendering context type
24
+ * @returns Array containing the rendered title text
25
+ */
4
26
  renderToLines(element: AbstractDocTitleType, type: string): string[];
5
27
  }
6
28
  //# sourceMappingURL=doctitletype.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"doctitletype.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/renderers/doctitletype.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,0DAA0D,CAAA;AAIjE,qBAAa,yBAA0B,SAAQ,wBAAwB;IAC5D,aAAa,CACpB,OAAO,EAAE,oBAAoB,EAC7B,IAAI,EAAE,MAAM,GACX,MAAM,EAAE;CAuBZ"}
1
+ {"version":3,"file":"doctitletype.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/renderers/doctitletype.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,0DAA0D,CAAA;AAIjE;;;;;;;;;GASG;AACH,qBAAa,yBAA0B,SAAQ,wBAAwB;IACrE;;;;;;;;;;;OAWG;IACM,aAAa,CACpB,OAAO,EAAE,oBAAoB,EAC7B,IAAI,EAAE,MAAM,GACX,MAAM,EAAE;CAuBZ"}
@@ -14,7 +14,29 @@
14
14
  import { ElementLinesRendererBase } from './element-renderer-base.js';
15
15
  import { TermDataModel, TitleDataModel, } from '../../doxygen/data-model/compounds/descriptiontype-dm.js';
16
16
  // ----------------------------------------------------------------------------
17
+ /**
18
+ * Renderer for Doxygen document title elements.
19
+ *
20
+ * @remarks
21
+ * Handles title and term elements within documentation structures.
22
+ * Supports polymorphic rendering for different title types while
23
+ * providing error handling for unrecognised element variations.
24
+ *
25
+ * @public
26
+ */
17
27
  export class DocTitleTypeLinesRenderer extends ElementLinesRendererBase {
28
+ /**
29
+ * Renders a document title element to formatted output lines.
30
+ *
31
+ * @remarks
32
+ * Processes title and term data models by rendering their child elements.
33
+ * Logs errors for unrecognised title types that require implementation
34
+ * support for complete documentation coverage.
35
+ *
36
+ * @param element - The document title element to render
37
+ * @param type - The rendering context type
38
+ * @returns Array containing the rendered title text
39
+ */
18
40
  renderToLines(element, type) {
19
41
  // console.log(util.inspect(element, { compact: false, depth: 999 }))
20
42
  let text = '';
@@ -1 +1 @@
1
- {"version":3,"file":"doctitletype.js","sourceRoot":"","sources":["../../../src/docusaurus/renderers/doctitletype.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAE/E,mCAAmC;AACnC,oCAAoC;AAEpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAEL,aAAa,EACb,cAAc,GACf,MAAM,0DAA0D,CAAA;AAEjE,+EAA+E;AAE/E,MAAM,OAAO,yBAA0B,SAAQ,wBAAwB;IAC5D,aAAa,CACpB,OAA6B,EAC7B,IAAY;QAEZ,qEAAqE;QAErE,IAAI,IAAI,GAAG,EAAE,CAAA;QAEb,IAAI,OAAO,YAAY,cAAc,EAAE,CAAC;YACtC,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,2BAA2B,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QAC5E,CAAC;aAAM,IAAI,OAAO,YAAY,aAAa,EAAE,CAAC;YAC5C,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,2BAA2B,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QAC5E,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,KAAK,CACX,OAAO,CAAC,WAAW,CAAC,IAAI,EACxB,iBAAiB,EACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CACtB,CAAA;YACD,gBAAgB;YAChB,UAAU;YACV,uEAAuE;YACvE,iBAAiB;QACnB,CAAC;QAED,OAAO,CAAC,IAAI,CAAC,CAAA;IACf,CAAC;CACF;AAED,+EAA+E"}
1
+ {"version":3,"file":"doctitletype.js","sourceRoot":"","sources":["../../../src/docusaurus/renderers/doctitletype.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAE/E,mCAAmC;AACnC,oCAAoC;AAEpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAEL,aAAa,EACb,cAAc,GACf,MAAM,0DAA0D,CAAA;AAEjE,+EAA+E;AAE/E;;;;;;;;;GASG;AACH,MAAM,OAAO,yBAA0B,SAAQ,wBAAwB;IACrE;;;;;;;;;;;OAWG;IACM,aAAa,CACpB,OAA6B,EAC7B,IAAY;QAEZ,qEAAqE;QAErE,IAAI,IAAI,GAAG,EAAE,CAAA;QAEb,IAAI,OAAO,YAAY,cAAc,EAAE,CAAC;YACtC,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,2BAA2B,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QAC5E,CAAC;aAAM,IAAI,OAAO,YAAY,aAAa,EAAE,CAAC;YAC5C,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,2BAA2B,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QAC5E,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,KAAK,CACX,OAAO,CAAC,WAAW,CAAC,IAAI,EACxB,iBAAiB,EACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CACtB,CAAA;YACD,gBAAgB;YAChB,UAAU;YACV,uEAAuE;YACvE,iBAAiB;QACnB,CAAC;QAED,OAAO,CAAC,IAAI,CAAC,CAAA;IACf,CAAC;CACF;AAED,+EAA+E"}
@@ -1,9 +1,53 @@
1
1
  import { ElementLinesRendererBase } from './element-renderer-base.js';
2
2
  import type { AbstractDocVariableListType, VariableListPairDataModel } from '../../doxygen/data-model/compounds/docvarlistentrytype-dm.js';
3
+ /**
4
+ * Renderer for Doxygen variable list container elements.
5
+ *
6
+ * @remarks
7
+ * Creates HTML definition list structure for variable lists containing
8
+ * term-description pairs. Provides the outer container for organised
9
+ * presentation of variable documentation.
10
+ *
11
+ * @public
12
+ */
3
13
  export declare class DocVariableListTypeLinesRenderer extends ElementLinesRendererBase {
14
+ /**
15
+ * Renders a variable list container to formatted output lines.
16
+ *
17
+ * @remarks
18
+ * Creates an HTML definition list wrapper around variable list entries.
19
+ * Each child element represents a term-description pair within the
20
+ * structured list format.
21
+ *
22
+ * @param element - The variable list container element to render
23
+ * @param type - The rendering context type (unused in implementation)
24
+ * @returns Array of HTML strings forming the definition list structure
25
+ */
4
26
  renderToLines(element: AbstractDocVariableListType, type: string): string[];
5
27
  }
28
+ /**
29
+ * Renderer for individual variable list entry pairs.
30
+ *
31
+ * @remarks
32
+ * Converts term-description pairs into HTML definition list items.
33
+ * Handles both single-line and multi-line descriptions with appropriate
34
+ * formatting for readable documentation output.
35
+ *
36
+ * @public
37
+ */
6
38
  export declare class VariableListPairLinesRenderer extends ElementLinesRendererBase {
39
+ /**
40
+ * Renders a variable list entry pair to formatted output lines.
41
+ *
42
+ * @remarks
43
+ * Creates HTML definition term and description elements from the
44
+ * variable list entry. Handles multi-line descriptions by splitting
45
+ * content across multiple lines within the definition element.
46
+ *
47
+ * @param element - The variable list pair element to render
48
+ * @param type - The rendering context type (unused in implementation)
49
+ * @returns Array of HTML strings for the term-description pair
50
+ */
7
51
  renderToLines(element: VariableListPairDataModel, type: string): string[];
8
52
  }
9
53
  //# sourceMappingURL=docvariablelisttype.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"docvariablelisttype.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/renderers/docvariablelisttype.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,KAAK,EACV,2BAA2B,EAC3B,yBAAyB,EAC1B,MAAM,8DAA8D,CAAA;AAIrE,qBAAa,gCAAiC,SAAQ,wBAAwB;IAE5E,aAAa,CAAC,OAAO,EAAE,2BAA2B,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CAc5E;AAED,qBAAa,6BAA8B,SAAQ,wBAAwB;IAChE,aAAa,CACpB,OAAO,EAAE,yBAAyB,EAElC,IAAI,EAAE,MAAM,GACX,MAAM,EAAE;CA6BZ"}
1
+ {"version":3,"file":"docvariablelisttype.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/renderers/docvariablelisttype.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,KAAK,EACV,2BAA2B,EAC3B,yBAAyB,EAC1B,MAAM,8DAA8D,CAAA;AAIrE;;;;;;;;;GASG;AACH,qBAAa,gCAAiC,SAAQ,wBAAwB;IAC5E;;;;;;;;;;;OAWG;IAEH,aAAa,CAAC,OAAO,EAAE,2BAA2B,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CAc5E;AAED;;;;;;;;;GASG;AACH,qBAAa,6BAA8B,SAAQ,wBAAwB;IACzE;;;;;;;;;;;OAWG;IACM,aAAa,CACpB,OAAO,EAAE,yBAAyB,EAElC,IAAI,EAAE,MAAM,GACX,MAAM,EAAE;CA6BZ"}
@@ -13,7 +13,29 @@
13
13
  // import * as util from 'node:util'
14
14
  import { ElementLinesRendererBase } from './element-renderer-base.js';
15
15
  // ----------------------------------------------------------------------------
16
+ /**
17
+ * Renderer for Doxygen variable list container elements.
18
+ *
19
+ * @remarks
20
+ * Creates HTML definition list structure for variable lists containing
21
+ * term-description pairs. Provides the outer container for organised
22
+ * presentation of variable documentation.
23
+ *
24
+ * @public
25
+ */
16
26
  export class DocVariableListTypeLinesRenderer extends ElementLinesRendererBase {
27
+ /**
28
+ * Renders a variable list container to formatted output lines.
29
+ *
30
+ * @remarks
31
+ * Creates an HTML definition list wrapper around variable list entries.
32
+ * Each child element represents a term-description pair within the
33
+ * structured list format.
34
+ *
35
+ * @param element - The variable list container element to render
36
+ * @param type - The rendering context type (unused in implementation)
37
+ * @returns Array of HTML strings forming the definition list structure
38
+ */
17
39
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
18
40
  renderToLines(element, type) {
19
41
  // console.log(util.inspect(element, { compact: false, depth: 999 }))
@@ -25,7 +47,29 @@ export class DocVariableListTypeLinesRenderer extends ElementLinesRendererBase {
25
47
  return lines;
26
48
  }
27
49
  }
50
+ /**
51
+ * Renderer for individual variable list entry pairs.
52
+ *
53
+ * @remarks
54
+ * Converts term-description pairs into HTML definition list items.
55
+ * Handles both single-line and multi-line descriptions with appropriate
56
+ * formatting for readable documentation output.
57
+ *
58
+ * @public
59
+ */
28
60
  export class VariableListPairLinesRenderer extends ElementLinesRendererBase {
61
+ /**
62
+ * Renders a variable list entry pair to formatted output lines.
63
+ *
64
+ * @remarks
65
+ * Creates HTML definition term and description elements from the
66
+ * variable list entry. Handles multi-line descriptions by splitting
67
+ * content across multiple lines within the definition element.
68
+ *
69
+ * @param element - The variable list pair element to render
70
+ * @param type - The rendering context type (unused in implementation)
71
+ * @returns Array of HTML strings for the term-description pair
72
+ */
29
73
  renderToLines(element,
30
74
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
31
75
  type) {
@@ -1 +1 @@
1
- {"version":3,"file":"docvariablelisttype.js","sourceRoot":"","sources":["../../../src/docusaurus/renderers/docvariablelisttype.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAE/E,mCAAmC;AACnC,oCAAoC;AAEpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAMrE,+EAA+E;AAE/E,MAAM,OAAO,gCAAiC,SAAQ,wBAAwB;IAC5E,6DAA6D;IAC7D,aAAa,CAAC,OAAoC,EAAE,IAAY;QAC9D,qEAAqE;QAErE,MAAM,KAAK,GAAa,EAAE,CAAA;QAE1B,KAAK,CA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AAI,EAAE,CAAA;QAET,KAAK,CAAC,IAAI,CAAC,OAAO,KAAK,OAAO,CAAC,CAAA;QAC/B,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,IAAI,CAAC,OAAO,WAAW,OAAO,CAAC,CAAA;QACvC,CAAC;aAAM,CAAC;YACN,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;YAClB,KAAK,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAA;YACtC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QACrB,CAAC;QAED,OAAO,KAAK,CAAA;IACd,CAAC;CACF;AAED,+EAA+E"}
@@ -1,6 +1,28 @@
1
1
  import { ElementLinesRendererBase } from './element-renderer-base.js';
2
2
  import type { AbstractDocXRefSectType } from '../../doxygen/data-model/compounds/descriptiontype-dm.js';
3
+ /**
4
+ * Renderer for Doxygen cross-reference section elements.
5
+ *
6
+ * @remarks
7
+ * Generates HTML structure for cross-reference sections with titles and
8
+ * descriptions. Creates definition lists with linked titles and detailed
9
+ * content for documentation cross-references.
10
+ *
11
+ * @public
12
+ */
3
13
  export declare class DocXRefSectLinesRenderer extends ElementLinesRendererBase {
14
+ /**
15
+ * Renders a cross-reference section to formatted output lines.
16
+ *
17
+ * @remarks
18
+ * Creates an HTML definition list structure with the cross-reference
19
+ * title as a linked term and the description as the definition content.
20
+ * Generates a permalink for the cross-reference section.
21
+ *
22
+ * @param element - The cross-reference section element to render
23
+ * @param type - The rendering context type (unused in implementation)
24
+ * @returns Array of HTML strings forming the cross-reference section
25
+ */
4
26
  renderToLines(element: AbstractDocXRefSectType, type: string): string[];
5
27
  }
6
28
  //# sourceMappingURL=docxrefsecttype.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"docxrefsecttype.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/renderers/docxrefsecttype.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0DAA0D,CAAA;AAIvG,qBAAa,wBAAyB,SAAQ,wBAAwB;IAEpE,aAAa,CAAC,OAAO,EAAE,uBAAuB,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CAoCxE"}
1
+ {"version":3,"file":"docxrefsecttype.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/renderers/docxrefsecttype.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0DAA0D,CAAA;AAIvG;;;;;;;;;GASG;AACH,qBAAa,wBAAyB,SAAQ,wBAAwB;IACpE;;;;;;;;;;;OAWG;IAEH,aAAa,CAAC,OAAO,EAAE,uBAAuB,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CAoCxE"}
@@ -13,7 +13,29 @@ import assert from 'node:assert';
13
13
  // import * as util from 'node:util'
14
14
  import { ElementLinesRendererBase } from './element-renderer-base.js';
15
15
  // ----------------------------------------------------------------------------
16
+ /**
17
+ * Renderer for Doxygen cross-reference section elements.
18
+ *
19
+ * @remarks
20
+ * Generates HTML structure for cross-reference sections with titles and
21
+ * descriptions. Creates definition lists with linked titles and detailed
22
+ * content for documentation cross-references.
23
+ *
24
+ * @public
25
+ */
16
26
  export class DocXRefSectLinesRenderer extends ElementLinesRendererBase {
27
+ /**
28
+ * Renders a cross-reference section to formatted output lines.
29
+ *
30
+ * @remarks
31
+ * Creates an HTML definition list structure with the cross-reference
32
+ * title as a linked term and the description as the definition content.
33
+ * Generates a permalink for the cross-reference section.
34
+ *
35
+ * @param element - The cross-reference section element to render
36
+ * @param type - The rendering context type (unused in implementation)
37
+ * @returns Array of HTML strings forming the cross-reference section
38
+ */
17
39
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
18
40
  renderToLines(element, type) {
19
41
  // console.log(util.inspect(element, { compact: false, depth: 999 }))
@@ -1 +1 @@
1
- {"version":3,"file":"docxrefsecttype.js","sourceRoot":"","sources":["../../../src/docusaurus/renderers/docxrefsecttype.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAE/E,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,oCAAoC;AAEpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAGrE,+EAA+E;AAE/E,MAAM,OAAO,wBAAyB,SAAQ,wBAAwB;IACpE,6DAA6D;IAC7D,aAAa,CAAC,OAAgC,EAAE,IAAY;QAC1D,qEAAqE;QAErE,MAAM,KAAK,GAAa,EAAE,CAAA;QAE1B,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,CACvC,OAAO,CAAC,SAAS,IAAI,KAAK,EAC1B,MAAM,CACP,CAAA;QACD,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC;YAC5C,KAAK,EAAE,OAAO,CAAC,EAAE;YACjB,OAAO,EAAE,UAAU;SACpB,CAAC,CAAA;QACF,MAAM,CAAC,SAAS,KAAK,SAAS,CAAC,CAAA;QAE/B,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;QACd,KAAK,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAA;QACxC,KAAK,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAA;QAC3C,KAAK,CAAC,IAAI,CACR,yCAAyC,SAAS,IAAI,KAAK,WAAW,CACvE,CAAA;QACD,KAAK,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAA;QAElD,IAAI,OAAO,CAAC,eAAe,KAAK,SAAS,EAAE,CAAC;YAC1C,KAAK,CAAC,IAAI,CACR,IAAI,CAAC,SAAS;iBACX,qBAAqB,CAAC,OAAO,CAAC,eAAe,EAAE,MAAM,CAAC;iBACtD,IAAI,EAAE,CACV,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AElD,IAAI,OAAO,CAAC,eAAe,KAAK,SAAS,EAAE,CAAC;YAC1C,KAAK,CAAC,IAAI,CACR,IAAI,CAAC,SAAS;iBACX,qBAAqB,CAAC,OAAO,CAAC,eAAe,EAAE,MAAM,CAAC;iBACtD,IAAI,EAAE,CACV,CAAA;QACH,CAAC;QACD,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QACnB,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QACnB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QAEpB,OAAO,KAAK,CAAA;IACd,CAAC;CACF;AAED,+EAA+E"}
@@ -1,12 +1,86 @@
1
1
  import type { Workspace } from '../workspace.js';
2
+ /**
3
+ * Abstract base class for renderers that output string content.
4
+ *
5
+ * @remarks
6
+ * Provides common functionality for element renderers that convert
7
+ * Doxygen XML elements into formatted string output. Maintains a
8
+ * reference to the workspace for accessing configuration and utilities.
9
+ *
10
+ * @public
11
+ */
2
12
  export declare abstract class ElementStringRendererBase {
13
+ /**
14
+ * The workspace containing global configuration and utilities.
15
+ *
16
+ * @remarks
17
+ * Provides access to rendering utilities, permalink generation,
18
+ * and global configuration options needed for element processing.
19
+ */
3
20
  workspace: Workspace;
21
+ /**
22
+ * Creates a new string element renderer.
23
+ *
24
+ * @remarks
25
+ * Initialises the renderer with the workspace reference for accessing
26
+ * global configuration and rendering utilities.
27
+ *
28
+ * @param workspace - The workspace instance
29
+ */
4
30
  constructor(workspace: Workspace);
31
+ /**
32
+ * Renders an element to a formatted string.
33
+ *
34
+ * @remarks
35
+ * Abstract method that must be implemented by derived classes to
36
+ * convert specific element types into their string representation.
37
+ *
38
+ * @param element - The element to render
39
+ * @param type - The rendering context type
40
+ * @returns Formatted string output
41
+ */
5
42
  abstract renderToString(element: object, type: string): string;
6
43
  }
44
+ /**
45
+ * Abstract base class for renderers that output multiple lines.
46
+ *
47
+ * @remarks
48
+ * Provides common functionality for element renderers that convert
49
+ * Doxygen XML elements into formatted multi-line output. Maintains
50
+ * a reference to the workspace for accessing configuration and utilities.
51
+ *
52
+ * @public
53
+ */
7
54
  export declare abstract class ElementLinesRendererBase {
55
+ /**
56
+ * The workspace containing global configuration and utilities.
57
+ *
58
+ * @remarks
59
+ * Provides access to rendering utilities, permalink generation,
60
+ * and global configuration options needed for element processing.
61
+ */
8
62
  workspace: Workspace;
63
+ /**
64
+ * Creates a new lines element renderer.
65
+ *
66
+ * @remarks
67
+ * Initialises the renderer with the workspace reference for accessing
68
+ * global configuration and rendering utilities.
69
+ *
70
+ * @param workspace - The workspace instance
71
+ */
9
72
  constructor(workspace: Workspace);
73
+ /**
74
+ * Renders an element to an array of formatted lines.
75
+ *
76
+ * @remarks
77
+ * Abstract method that must be implemented by derived classes to
78
+ * convert specific element types into their multi-line representation.
79
+ *
80
+ * @param element - The element to render
81
+ * @param type - The rendering context type
82
+ * @returns Array of formatted output lines
83
+ */
10
84
  abstract renderToLines(element: object, type: string): string[];
11
85
  }
12
86
  //# sourceMappingURL=element-renderer-base.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"element-renderer-base.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/renderers/element-renderer-base.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAIhD,8BAAsB,yBAAyB;IAC7C,SAAS,EAAE,SAAS,CAAA;gBAER,SAAS,EAAE,SAAS;IAIhC,QAAQ,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM;CAC/D;AAED,8BAAsB,wBAAwB;IAC5C,SAAS,EAAE,SAAS,CAAA;gBAER,SAAS,EAAE,SAAS;IAIhC,QAAQ,CAAC,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CAChE"}
1
+ {"version":3,"file":"element-renderer-base.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/renderers/element-renderer-base.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAIhD;;;;;;;;;GASG;AACH,8BAAsB,yBAAyB;IAC7C;;;;;;OAMG;IACH,SAAS,EAAE,SAAS,CAAA;IAEpB;;;;;;;;OAQG;gBACS,SAAS,EAAE,SAAS;IAIhC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM;CAC/D;AAED;;;;;;;;;GASG;AACH,8BAAsB,wBAAwB;IAC5C;;;;;;OAMG;IACH,SAAS,EAAE,SAAS,CAAA;IAEpB;;;;;;;;OAQG;gBACS,SAAS,EAAE,SAAS;IAIhC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CAChE"}
@@ -9,14 +9,66 @@
9
9
  * be obtained from https://opensource.org/licenses/MIT.
10
10
  */
11
11
  // ----------------------------------------------------------------------------
12
+ /**
13
+ * Abstract base class for renderers that output string content.
14
+ *
15
+ * @remarks
16
+ * Provides common functionality for element renderers that convert
17
+ * Doxygen XML elements into formatted string output. Maintains a
18
+ * reference to the workspace for accessing configuration and utilities.
19
+ *
20
+ * @public
21
+ */
12
22
  export class ElementStringRendererBase {
23
+ /**
24
+ * The workspace containing global configuration and utilities.
25
+ *
26
+ * @remarks
27
+ * Provides access to rendering utilities, permalink generation,
28
+ * and global configuration options needed for element processing.
29
+ */
13
30
  workspace;
31
+ /**
32
+ * Creates a new string element renderer.
33
+ *
34
+ * @remarks
35
+ * Initialises the renderer with the workspace reference for accessing
36
+ * global configuration and rendering utilities.
37
+ *
38
+ * @param workspace - The workspace instance
39
+ */
14
40
  constructor(workspace) {
15
41
  this.workspace = workspace;
16
42
  }
17
43
  }
44
+ /**
45
+ * Abstract base class for renderers that output multiple lines.
46
+ *
47
+ * @remarks
48
+ * Provides common functionality for element renderers that convert
49
+ * Doxygen XML elements into formatted multi-line output. Maintains
50
+ * a reference to the workspace for accessing configuration and utilities.
51
+ *
52
+ * @public
53
+ */
18
54
  export class ElementLinesRendererBase {
55
+ /**
56
+ * The workspace containing global configuration and utilities.
57
+ *
58
+ * @remarks
59
+ * Provides access to rendering utilities, permalink generation,
60
+ * and global configuration options needed for element processing.
61
+ */
19
62
  workspace;
63
+ /**
64
+ * Creates a new lines element renderer.
65
+ *
66
+ * @remarks
67
+ * Initialises the renderer with the workspace reference for accessing
68
+ * global configuration and rendering utilities.
69
+ *
70
+ * @param workspace - The workspace instance
71
+ */
20
72
  constructor(workspace) {
21
73
  this.workspace = workspace;
22
74
  }
@@ -1 +1 @@
1
- {"version":3,"file":"element-renderer-base.js","sourceRoot":"","sources":["../../../src/docusaurus/renderers/element-renderer-base.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAMH,+EAA+E;AAE/E,MAAM,OAAgB,yBAAyB;IAC7C,SAAS,CAAW;IAEpB,YAAY,SAAoB;QAC9B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;CAGF;AAED,MAAM,OAAgB,wBAAwB;IAC5C,SAAS,CAAW;IAEpB,YAAY,SAAoB;QAC9B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;CAGF;AAED,+EAA+E"}
1
+ {"version":3,"file":"element-renderer-base.js","sourceRoot":"","sources":["../../../src/docusaurus/renderers/element-renderer-base.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAMH,+EAA+E;AAE/E;;;;;;;;;GASG;AACH,MAAM,OAAgB,yBAAyB;IAC7C;;;;;;OAMG;IACH,SAAS,CAAW;IAEpB;;;;;;;;OAQG;IACH,YAAY,SAAoB;QAC9B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;CAcF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAgB,wBAAwB;IAC5C;;;;;;OAMG;IACH,SAAS,CAAW;IAEpB;;;;;;;;OAQG;IACH,YAAY,SAAoB;QAC9B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;CAcF;AAED,+EAA+E"}
@@ -1,6 +1,29 @@
1
1
  import { ElementLinesRendererBase } from './element-renderer-base.js';
2
2
  import type { AbstractIncType } from '../../doxygen/data-model/compounds/inctype-dm.js';
3
+ /**
4
+ * Renderer for include directive elements in documentation.
5
+ *
6
+ * @remarks
7
+ * Handles the rendering of #include statements found in source code,
8
+ * converting them to appropriate HTML output with proper link generation
9
+ * when the included file is documented.
10
+ *
11
+ * @public
12
+ */
3
13
  export declare class IncTypeLinesRenderer extends ElementLinesRendererBase {
14
+ /**
15
+ * Renders an include element to formatted output lines.
16
+ *
17
+ * @remarks
18
+ * Converts Doxygen include elements into HTML format with appropriate
19
+ * angle brackets or quotes, and creates links to documented files
20
+ * when available. Handles both local includes (quotes) and system
21
+ * includes (angle brackets).
22
+ *
23
+ * @param element - The include element to render
24
+ * @param type - The rendering context type
25
+ * @returns Array of formatted output lines
26
+ */
4
27
  renderToLines(element: AbstractIncType, type: string): string[];
5
28
  }
6
29
  //# sourceMappingURL=inctype.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inctype.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/renderers/inctype.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAA;AAIvF,qBAAa,oBAAqB,SAAQ,wBAAwB;IACvD,aAAa,CAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CA2BzE"}
1
+ {"version":3,"file":"inctype.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/renderers/inctype.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAA;AAIvF;;;;;;;;;GASG;AACH,qBAAa,oBAAqB,SAAQ,wBAAwB;IAChE;;;;;;;;;;;;OAYG;IACM,aAAa,CAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE;CA2BzE"}
@@ -13,7 +13,30 @@
13
13
  // import * as util from 'node:util'
14
14
  import { ElementLinesRendererBase } from './element-renderer-base.js';
15
15
  // ----------------------------------------------------------------------------
16
+ /**
17
+ * Renderer for include directive elements in documentation.
18
+ *
19
+ * @remarks
20
+ * Handles the rendering of #include statements found in source code,
21
+ * converting them to appropriate HTML output with proper link generation
22
+ * when the included file is documented.
23
+ *
24
+ * @public
25
+ */
16
26
  export class IncTypeLinesRenderer extends ElementLinesRendererBase {
27
+ /**
28
+ * Renders an include element to formatted output lines.
29
+ *
30
+ * @remarks
31
+ * Converts Doxygen include elements into HTML format with appropriate
32
+ * angle brackets or quotes, and creates links to documented files
33
+ * when available. Handles both local includes (quotes) and system
34
+ * includes (angle brackets).
35
+ *
36
+ * @param element - The include element to render
37
+ * @param type - The rendering context type
38
+ * @returns Array of formatted output lines
39
+ */
17
40
  renderToLines(element, type) {
18
41
  // console.log(util.inspect(element, { compact: false, depth: 999 }))
19
42
  const lines = [];
@@ -1 +1 @@
1
- {"version":3,"file":"inctype.js","sourceRoot":"","sources":["../../../src/docusaurus/renderers/inctype.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAE/E,mCAAmC;AACnC,oCAAoC;AAEpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAGrE,+EAA+E;AAE/E,MAAM,OAAO,oBAAqB,SAAQ,wBAAwB;IACvD,aAAa,CAAC,OAAwB,EAAE,IAAY;QAC3D,qEAAqE;QAErE,MAAM,KAAK,GAAa,EAAE,CAAA;QAE1B,IAAI,SAAS,GAAuB,EAAE,CAAA;QACtC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