@xpack/doxygen2docusaurus 1.1.0 → 2.1.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 (329) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +4 -3
  3. package/bin/doxygen2docusaurus.js +1 -1
  4. package/dist/cli/main.d.ts +0 -8
  5. package/dist/cli/main.d.ts.map +1 -1
  6. package/dist/cli/main.js +1 -29
  7. package/dist/cli/main.js.map +1 -1
  8. package/dist/docusaurus/cli-options.d.ts +4 -65
  9. package/dist/docusaurus/cli-options.d.ts.map +1 -1
  10. package/dist/docusaurus/cli-options.js +16 -91
  11. package/dist/docusaurus/cli-options.js.map +1 -1
  12. package/dist/docusaurus/generator.d.ts +7 -4
  13. package/dist/docusaurus/generator.d.ts.map +1 -1
  14. package/dist/docusaurus/generator.js +50 -140
  15. package/dist/docusaurus/generator.js.map +1 -1
  16. package/dist/docusaurus/renderers/descriptiontype.d.ts.map +1 -1
  17. package/dist/docusaurus/renderers/descriptiontype.js +11 -138
  18. package/dist/docusaurus/renderers/descriptiontype.js.map +1 -1
  19. package/dist/docusaurus/renderers/docinternalstype.d.ts.map +1 -1
  20. package/dist/docusaurus/renderers/docinternalstype.js +0 -24
  21. package/dist/docusaurus/renderers/docinternalstype.js.map +1 -1
  22. package/dist/docusaurus/renderers/doclisttype.d.ts.map +1 -1
  23. package/dist/docusaurus/renderers/doclisttype.js +0 -22
  24. package/dist/docusaurus/renderers/doclisttype.js.map +1 -1
  25. package/dist/docusaurus/renderers/doctabletype.d.ts.map +1 -1
  26. package/dist/docusaurus/renderers/doctabletype.js +1 -25
  27. package/dist/docusaurus/renderers/doctabletype.js.map +1 -1
  28. package/dist/docusaurus/renderers/doctitletype.d.ts.map +1 -1
  29. package/dist/docusaurus/renderers/doctitletype.js +0 -20
  30. package/dist/docusaurus/renderers/doctitletype.js.map +1 -1
  31. package/dist/docusaurus/renderers/docvariablelisttype.d.ts.map +1 -1
  32. package/dist/docusaurus/renderers/docvariablelisttype.js +1 -25
  33. package/dist/docusaurus/renderers/docvariablelisttype.js.map +1 -1
  34. package/dist/docusaurus/renderers/docxrefsecttype.d.ts.map +1 -1
  35. package/dist/docusaurus/renderers/docxrefsecttype.js +0 -16
  36. package/dist/docusaurus/renderers/docxrefsecttype.js.map +1 -1
  37. package/dist/docusaurus/renderers/element-renderer-base.d.ts.map +1 -1
  38. package/dist/docusaurus/renderers/element-renderer-base.js +0 -12
  39. package/dist/docusaurus/renderers/element-renderer-base.js.map +1 -1
  40. package/dist/docusaurus/renderers/inctype.d.ts.map +1 -1
  41. package/dist/docusaurus/renderers/inctype.js +0 -18
  42. package/dist/docusaurus/renderers/inctype.js.map +1 -1
  43. package/dist/docusaurus/renderers/linkedtexttype.d.ts.map +1 -1
  44. package/dist/docusaurus/renderers/linkedtexttype.js +0 -23
  45. package/dist/docusaurus/renderers/linkedtexttype.js.map +1 -1
  46. package/dist/docusaurus/renderers/listingtype.d.ts.map +1 -1
  47. package/dist/docusaurus/renderers/listingtype.js +1 -24
  48. package/dist/docusaurus/renderers/listingtype.js.map +1 -1
  49. package/dist/docusaurus/renderers/paramtype.d.ts.map +1 -1
  50. package/dist/docusaurus/renderers/paramtype.js +2 -29
  51. package/dist/docusaurus/renderers/paramtype.js.map +1 -1
  52. package/dist/docusaurus/renderers/referencetype.d.ts.map +1 -1
  53. package/dist/docusaurus/renderers/referencetype.js +0 -17
  54. package/dist/docusaurus/renderers/referencetype.js.map +1 -1
  55. package/dist/docusaurus/renderers/reftexttype.d.ts.map +1 -1
  56. package/dist/docusaurus/renderers/reftexttype.js +0 -16
  57. package/dist/docusaurus/renderers/reftexttype.js.map +1 -1
  58. package/dist/docusaurus/renderers/reftype.d.ts.map +1 -1
  59. package/dist/docusaurus/renderers/reftype.js +0 -16
  60. package/dist/docusaurus/renderers/reftype.js.map +1 -1
  61. package/dist/docusaurus/renderers/renderers.d.ts.map +1 -1
  62. package/dist/docusaurus/renderers/renderers.js +4 -33
  63. package/dist/docusaurus/renderers/renderers.js.map +1 -1
  64. package/dist/docusaurus/renderers/substringtype.d.ts.map +1 -1
  65. package/dist/docusaurus/renderers/substringtype.js +0 -17
  66. package/dist/docusaurus/renderers/substringtype.js.map +1 -1
  67. package/dist/docusaurus/renderers/tableofcontentstype.d.ts.map +1 -1
  68. package/dist/docusaurus/renderers/tableofcontentstype.js +0 -17
  69. package/dist/docusaurus/renderers/tableofcontentstype.js.map +1 -1
  70. package/dist/docusaurus/types.d.ts +4 -8
  71. package/dist/docusaurus/types.d.ts.map +1 -1
  72. package/dist/docusaurus/types.js +0 -11
  73. package/dist/docusaurus/types.js.map +1 -1
  74. package/dist/docusaurus/utils.d.ts.map +1 -1
  75. package/dist/docusaurus/utils.js +0 -82
  76. package/dist/docusaurus/utils.js.map +1 -1
  77. package/dist/docusaurus/view-model/classes-vm.d.ts +2 -2
  78. package/dist/docusaurus/view-model/classes-vm.d.ts.map +1 -1
  79. package/dist/docusaurus/view-model/classes-vm.js +12 -87
  80. package/dist/docusaurus/view-model/classes-vm.js.map +1 -1
  81. package/dist/docusaurus/view-model/collection-base.d.ts +2 -2
  82. package/dist/docusaurus/view-model/collection-base.d.ts.map +1 -1
  83. package/dist/docusaurus/view-model/collection-base.js +11 -23
  84. package/dist/docusaurus/view-model/collection-base.js.map +1 -1
  85. package/dist/docusaurus/view-model/compound-base-vm.d.ts +2 -32
  86. package/dist/docusaurus/view-model/compound-base-vm.d.ts.map +1 -1
  87. package/dist/docusaurus/view-model/compound-base-vm.js +47 -129
  88. package/dist/docusaurus/view-model/compound-base-vm.js.map +1 -1
  89. package/dist/docusaurus/view-model/concepts-vm.d.ts +26 -0
  90. package/dist/docusaurus/view-model/concepts-vm.d.ts.map +1 -0
  91. package/dist/docusaurus/view-model/concepts-vm.js +329 -0
  92. package/dist/docusaurus/view-model/concepts-vm.js.map +1 -0
  93. package/dist/docusaurus/view-model/description-anchors.d.ts.map +1 -1
  94. package/dist/docusaurus/view-model/description-anchors.js +0 -13
  95. package/dist/docusaurus/view-model/description-anchors.js.map +1 -1
  96. package/dist/docusaurus/view-model/files-and-folders-vm.d.ts +2 -2
  97. package/dist/docusaurus/view-model/files-and-folders-vm.d.ts.map +1 -1
  98. package/dist/docusaurus/view-model/files-and-folders-vm.js +64 -110
  99. package/dist/docusaurus/view-model/files-and-folders-vm.js.map +1 -1
  100. package/dist/docusaurus/view-model/groups-vm.d.ts +2 -2
  101. package/dist/docusaurus/view-model/groups-vm.d.ts.map +1 -1
  102. package/dist/docusaurus/view-model/groups-vm.js +7 -80
  103. package/dist/docusaurus/view-model/groups-vm.js.map +1 -1
  104. package/dist/docusaurus/view-model/members-vm.d.ts.map +1 -1
  105. package/dist/docusaurus/view-model/members-vm.js +17 -154
  106. package/dist/docusaurus/view-model/members-vm.js.map +1 -1
  107. package/dist/docusaurus/view-model/namespaces-vm.d.ts +6 -2
  108. package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
  109. package/dist/docusaurus/view-model/namespaces-vm.js +82 -89
  110. package/dist/docusaurus/view-model/namespaces-vm.js.map +1 -1
  111. package/dist/docusaurus/view-model/options.d.ts.map +1 -1
  112. package/dist/docusaurus/view-model/options.js +0 -14
  113. package/dist/docusaurus/view-model/options.js.map +1 -1
  114. package/dist/docusaurus/view-model/pages-vm.d.ts +2 -2
  115. package/dist/docusaurus/view-model/pages-vm.d.ts.map +1 -1
  116. package/dist/docusaurus/view-model/pages-vm.js +3 -50
  117. package/dist/docusaurus/view-model/pages-vm.js.map +1 -1
  118. package/dist/docusaurus/view-model/tree-entries-vm.d.ts +8 -22
  119. package/dist/docusaurus/view-model/tree-entries-vm.d.ts.map +1 -1
  120. package/dist/docusaurus/view-model/tree-entries-vm.js +54 -54
  121. package/dist/docusaurus/view-model/tree-entries-vm.js.map +1 -1
  122. package/dist/docusaurus/view-model/view-model.d.ts +0 -6
  123. package/dist/docusaurus/view-model/view-model.d.ts.map +1 -1
  124. package/dist/docusaurus/view-model/view-model.js +20 -63
  125. package/dist/docusaurus/view-model/view-model.js.map +1 -1
  126. package/dist/docusaurus/workspace.d.ts +1 -20
  127. package/dist/docusaurus/workspace.d.ts.map +1 -1
  128. package/dist/docusaurus/workspace.js +9 -116
  129. package/dist/docusaurus/workspace.js.map +1 -1
  130. package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts +5 -7
  131. package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
  132. package/dist/doxygen/data-model/compounds/compounddef-dm.js +23 -187
  133. package/dist/doxygen/data-model/compounds/compounddef-dm.js.map +1 -1
  134. package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts +0 -9
  135. package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts.map +1 -1
  136. package/dist/doxygen/data-model/compounds/compoundreftype-dm.js +1 -47
  137. package/dist/doxygen/data-model/compounds/compoundreftype-dm.js.map +1 -1
  138. package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts +0 -39
  139. package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts.map +1 -1
  140. package/dist/doxygen/data-model/compounds/descriptiontype-dm.js +36 -1308
  141. package/dist/doxygen/data-model/compounds/descriptiontype-dm.js.map +1 -1
  142. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts.map +1 -1
  143. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js +0 -64
  144. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js.map +1 -1
  145. package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts.map +1 -1
  146. package/dist/doxygen/data-model/compounds/doxygentype-dm.js +0 -35
  147. package/dist/doxygen/data-model/compounds/doxygentype-dm.js.map +1 -1
  148. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts +0 -6
  149. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts.map +1 -1
  150. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js +1 -44
  151. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js.map +1 -1
  152. package/dist/doxygen/data-model/compounds/inctype-dm.d.ts +0 -9
  153. package/dist/doxygen/data-model/compounds/inctype-dm.d.ts.map +1 -1
  154. package/dist/doxygen/data-model/compounds/inctype-dm.js +3 -48
  155. package/dist/doxygen/data-model/compounds/inctype-dm.js.map +1 -1
  156. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts +3 -15
  157. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts.map +1 -1
  158. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js +5 -57
  159. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js.map +1 -1
  160. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts +0 -6
  161. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts.map +1 -1
  162. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js +0 -38
  163. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js.map +1 -1
  164. package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts +0 -6
  165. package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts.map +1 -1
  166. package/dist/doxygen/data-model/compounds/locationtype-dm.js +4 -52
  167. package/dist/doxygen/data-model/compounds/locationtype-dm.js.map +1 -1
  168. package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts +2 -10
  169. package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts.map +1 -1
  170. package/dist/doxygen/data-model/compounds/memberdeftype-dm.js +19 -64
  171. package/dist/doxygen/data-model/compounds/memberdeftype-dm.js.map +1 -1
  172. package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts +0 -6
  173. package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts.map +1 -1
  174. package/dist/doxygen/data-model/compounds/memberreftype-dm.js +1 -45
  175. package/dist/doxygen/data-model/compounds/memberreftype-dm.js.map +1 -1
  176. package/dist/doxygen/data-model/compounds/membertype-dm.d.ts +0 -6
  177. package/dist/doxygen/data-model/compounds/membertype-dm.d.ts.map +1 -1
  178. package/dist/doxygen/data-model/compounds/membertype-dm.js +0 -43
  179. package/dist/doxygen/data-model/compounds/membertype-dm.js.map +1 -1
  180. package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts +0 -6
  181. package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts.map +1 -1
  182. package/dist/doxygen/data-model/compounds/paramtype-dm.js +0 -51
  183. package/dist/doxygen/data-model/compounds/paramtype-dm.js.map +1 -1
  184. package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts +0 -9
  185. package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts.map +1 -1
  186. package/dist/doxygen/data-model/compounds/referencetype-dm.js +2 -47
  187. package/dist/doxygen/data-model/compounds/referencetype-dm.js.map +1 -1
  188. package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts.map +1 -1
  189. package/dist/doxygen/data-model/compounds/reftexttype-dm.js +2 -38
  190. package/dist/doxygen/data-model/compounds/reftexttype-dm.js.map +1 -1
  191. package/dist/doxygen/data-model/compounds/reftype-dm.d.ts +0 -21
  192. package/dist/doxygen/data-model/compounds/reftype-dm.d.ts.map +1 -1
  193. package/dist/doxygen/data-model/compounds/reftype-dm.js +4 -82
  194. package/dist/doxygen/data-model/compounds/reftype-dm.js.map +1 -1
  195. package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts +0 -6
  196. package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts.map +1 -1
  197. package/dist/doxygen/data-model/compounds/reimplementtype-dm.js +1 -42
  198. package/dist/doxygen/data-model/compounds/reimplementtype-dm.js.map +1 -1
  199. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts +0 -9
  200. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts.map +1 -1
  201. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js +0 -53
  202. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js.map +1 -1
  203. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts +0 -12
  204. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts.map +1 -1
  205. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js +0 -105
  206. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js.map +1 -1
  207. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts +0 -6
  208. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts.map +1 -1
  209. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js +0 -38
  210. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js.map +1 -1
  211. package/dist/doxygen/data-model/data-model.d.ts +0 -65
  212. package/dist/doxygen/data-model/data-model.d.ts.map +1 -1
  213. package/dist/doxygen/data-model/data-model.js +4 -115
  214. package/dist/doxygen/data-model/data-model.js.map +1 -1
  215. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts +0 -6
  216. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts.map +1 -1
  217. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js +4 -47
  218. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js.map +1 -1
  219. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts +0 -6
  220. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts.map +1 -1
  221. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js +0 -40
  222. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js.map +1 -1
  223. package/dist/doxygen/data-model/doxygen-xml-parser.d.ts +0 -236
  224. package/dist/doxygen/data-model/doxygen-xml-parser.d.ts.map +1 -1
  225. package/dist/doxygen/data-model/doxygen-xml-parser.js +0 -289
  226. package/dist/doxygen/data-model/doxygen-xml-parser.js.map +1 -1
  227. package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts +0 -6
  228. package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts.map +1 -1
  229. package/dist/doxygen/data-model/index/indexcompoundtype-dm.js +2 -45
  230. package/dist/doxygen/data-model/index/indexcompoundtype-dm.js.map +1 -1
  231. package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts +0 -6
  232. package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts.map +1 -1
  233. package/dist/doxygen/data-model/index/indexdoxygentype-dm.js +0 -41
  234. package/dist/doxygen/data-model/index/indexdoxygentype-dm.js.map +1 -1
  235. package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts +0 -6
  236. package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts.map +1 -1
  237. package/dist/doxygen/data-model/index/indexmembertype-dm.js +1 -43
  238. package/dist/doxygen/data-model/index/indexmembertype-dm.js.map +1 -1
  239. package/dist/doxygen/data-model/types.d.ts +1 -10
  240. package/dist/doxygen/data-model/types.d.ts.map +1 -1
  241. package/dist/doxygen/data-model/types.js +0 -15
  242. package/dist/doxygen/data-model/types.js.map +1 -1
  243. package/dist/index.d.ts +4 -16
  244. package/dist/index.d.ts.map +1 -1
  245. package/dist/index.js +4 -42
  246. package/dist/index.js.map +1 -1
  247. package/package.json +53 -56
  248. package/src/cli/main.ts +122 -0
  249. package/src/docusaurus/cli-options.ts +560 -0
  250. package/src/docusaurus/generator.ts +788 -0
  251. package/src/docusaurus/renderers/descriptiontype.ts +1299 -0
  252. package/src/docusaurus/renderers/docinternalstype.ts +354 -0
  253. package/src/docusaurus/renderers/doclisttype.ts +134 -0
  254. package/src/docusaurus/renderers/doctabletype.ts +220 -0
  255. package/src/docusaurus/renderers/doctitletype.ts +77 -0
  256. package/src/docusaurus/renderers/docvariablelisttype.ts +123 -0
  257. package/src/docusaurus/renderers/docxrefsecttype.ts +84 -0
  258. package/src/docusaurus/renderers/element-renderer-base.ts +112 -0
  259. package/src/docusaurus/renderers/inctype.ts +75 -0
  260. package/src/docusaurus/renderers/linkedtexttype.ts +64 -0
  261. package/src/docusaurus/renderers/listingtype.ts +235 -0
  262. package/src/docusaurus/renderers/paramtype.ts +116 -0
  263. package/src/docusaurus/renderers/referencetype.ts +83 -0
  264. package/src/docusaurus/renderers/reftexttype.ts +81 -0
  265. package/src/docusaurus/renderers/reftype.ts +77 -0
  266. package/src/docusaurus/renderers/renderers.ts +756 -0
  267. package/src/docusaurus/renderers/substringtype.ts +53 -0
  268. package/src/docusaurus/renderers/tableofcontentstype.ts +74 -0
  269. package/src/docusaurus/types.ts +187 -0
  270. package/src/docusaurus/utils.ts +409 -0
  271. package/src/docusaurus/view-model/README.md +12 -0
  272. package/src/docusaurus/view-model/classes-vm.ts +1088 -0
  273. package/src/docusaurus/view-model/collection-base.ts +352 -0
  274. package/src/docusaurus/view-model/compound-base-vm.ts +1340 -0
  275. package/src/docusaurus/view-model/concepts-vm.ts +719 -0
  276. package/src/docusaurus/view-model/description-anchors.ts +107 -0
  277. package/src/docusaurus/view-model/files-and-folders-vm.ts +1293 -0
  278. package/src/docusaurus/view-model/groups-vm.ts +548 -0
  279. package/src/docusaurus/view-model/members-vm.ts +1943 -0
  280. package/src/docusaurus/view-model/namespaces-vm.ts +1018 -0
  281. package/src/docusaurus/view-model/options.ts +95 -0
  282. package/src/docusaurus/view-model/pages-vm.ts +342 -0
  283. package/src/docusaurus/view-model/tree-entries-vm.ts +376 -0
  284. package/src/docusaurus/view-model/view-model.ts +513 -0
  285. package/src/docusaurus/workspace.ts +588 -0
  286. package/src/doxygen/data-model/README.md +13 -0
  287. package/src/doxygen/data-model/compounds/compounddef-dm.ts +1156 -0
  288. package/src/doxygen/data-model/compounds/compoundreftype-dm.ts +266 -0
  289. package/src/doxygen/data-model/compounds/descriptiontype-dm.ts +10107 -0
  290. package/src/doxygen/data-model/compounds/docvarlistentrytype-dm.ts +354 -0
  291. package/src/doxygen/data-model/compounds/doxygentype-dm.ts +187 -0
  292. package/src/doxygen/data-model/compounds/enumvaluetype-dm.ts +218 -0
  293. package/src/doxygen/data-model/compounds/inctype-dm.ts +217 -0
  294. package/src/doxygen/data-model/compounds/linkedtexttype-dm.ts +288 -0
  295. package/src/doxygen/data-model/compounds/listofallmemberstype-dm.ts +160 -0
  296. package/src/doxygen/data-model/compounds/locationtype-dm.ts +284 -0
  297. package/src/doxygen/data-model/compounds/memberdeftype-dm.ts +874 -0
  298. package/src/doxygen/data-model/compounds/memberreftype-dm.ts +270 -0
  299. package/src/doxygen/data-model/compounds/membertype-dm.ts +239 -0
  300. package/src/doxygen/data-model/compounds/paramtype-dm.ts +302 -0
  301. package/src/doxygen/data-model/compounds/referencetype-dm.ts +248 -0
  302. package/src/doxygen/data-model/compounds/reftexttype-dm.ts +234 -0
  303. package/src/doxygen/data-model/compounds/reftype-dm.ts +430 -0
  304. package/src/doxygen/data-model/compounds/reimplementtype-dm.ts +201 -0
  305. package/src/doxygen/data-model/compounds/sectiondeftype-dm.ts +330 -0
  306. package/src/doxygen/data-model/compounds/tableofcontentstype-dm.ts +563 -0
  307. package/src/doxygen/data-model/compounds/templateparamlisttype-dm.ts +150 -0
  308. package/src/doxygen/data-model/data-model.ts +377 -0
  309. package/src/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.ts +271 -0
  310. package/src/doxygen/data-model/doxyfile/doxyfiletype-dm.ts +200 -0
  311. package/src/doxygen/data-model/doxygen-xml-parser.ts +522 -0
  312. package/src/doxygen/data-model/index/indexcompoundtype-dm.ts +256 -0
  313. package/src/doxygen/data-model/index/indexdoxygentype-dm.ts +196 -0
  314. package/src/doxygen/data-model/index/indexmembertype-dm.ts +230 -0
  315. package/src/doxygen/data-model/types.ts +175 -0
  316. package/src/doxygen/data-model/xsds/README.md +6 -0
  317. package/src/doxygen/data-model/xsds/compound.xsd +1699 -0
  318. package/src/doxygen/data-model/xsds/doxyfile.xsd +355 -0
  319. package/src/doxygen/data-model/xsds/index.xsd +72 -0
  320. package/src/doxygen/data-model/xsds/xml.xsd +23 -0
  321. package/src/index.ts +261 -0
  322. package/src/tsconfig.json +10 -0
  323. package/dist/doxygen2docusaurus.d.ts +0 -1147
  324. package/dist/tsconfig.tsbuildinfo +0 -1
  325. package/dist/tsdoc-metadata.json +0 -11
  326. /package/{template → templates}/css/custom.css +0 -0
  327. /package/{template → templates}/img/README.md +0 -0
  328. /package/{template → templates}/img/document-svgrepo-com.svg +0 -0
  329. /package/{template → templates}/img/folder-svgrepo-com.svg +0 -0
@@ -0,0 +1,235 @@
1
+ /*
2
+ * This file is part of the xPack project (http://xpack.github.io).
3
+ * Copyright (c) 2025-2026 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
+ // ----------------------------------------------------------------------------
13
+
14
+ import assert from 'node:assert'
15
+ import util from 'node:util'
16
+
17
+ import {
18
+ type AbstractCodeLineType,
19
+ CodeLineDataModel,
20
+ type AbstractHighlightType,
21
+ HighlightDataModel,
22
+ type AbstractListingTypeBase,
23
+ MemberProgramListingDataModel,
24
+ } from '../../doxygen/data-model/compounds/descriptiontype-dm.js'
25
+ import { ElementLinesRendererBase } from './element-renderer-base.js'
26
+ import type { Workspace } from '../workspace.js'
27
+
28
+ // ----------------------------------------------------------------------------
29
+
30
+ /**
31
+ * Renderer for program listing elements in documentation.
32
+ *
33
+ * @remarks
34
+ * Handles the rendering of source code listings as parsed from Doxygen XML,
35
+ * converting them into formatted HTML output with syntax highlighting and
36
+ * line numbering. Supports both full program listings and member-specific
37
+ * code segments.
38
+ *
39
+ * @public
40
+ */
41
+ export class ListingTypeLinesRenderer extends ElementLinesRendererBase {
42
+ /**
43
+ * Renders a program listing element to formatted output lines.
44
+ *
45
+ * @remarks
46
+ * Converts Doxygen program listing elements into HTML with appropriate
47
+ * CSS classes, line numbers, and syntax highlighting. Handles anchor
48
+ * generation for navigation and cross-referencing.
49
+ *
50
+ * @param element - The listing element to render
51
+ * @param type - The rendering context type
52
+ * @returns Array of formatted output lines
53
+ */
54
+ override renderToLines(
55
+ element: AbstractListingTypeBase,
56
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
57
+ type: string
58
+ ): string[] {
59
+ // console.log(util.inspect(element, { compact: false, depth: 999 }))
60
+
61
+ if (element.codelines === undefined) {
62
+ return []
63
+ }
64
+
65
+ let showAnchor = true
66
+ if (element instanceof MemberProgramListingDataModel) {
67
+ showAnchor = false
68
+ }
69
+
70
+ const lines: string[] = []
71
+
72
+ lines.push('')
73
+ lines.push('<div class="doxyProgramListing">')
74
+
75
+ lines.push('')
76
+ for (const codeline of element.codelines) {
77
+ // Explicit type, since it may come from a markdown environment,
78
+ // like in the Doxygen docblocks page.
79
+ lines.push(
80
+ renderCodeLinesToString(this.workspace, codeline, 'html', showAnchor)
81
+ )
82
+ }
83
+
84
+ lines.push('')
85
+ lines.push('</div>')
86
+ lines.push('')
87
+
88
+ return lines
89
+ }
90
+ }
91
+
92
+ /**
93
+ * Renders individual code lines with syntax highlighting and line numbers.
94
+ *
95
+ * @remarks
96
+ * Converts a single code line element into HTML format with appropriate
97
+ * line numbering, anchors for navigation, and syntax highlighting support.
98
+ * Handles permalink generation for cross-references when available.
99
+ *
100
+ * @param workspace - The workspace instance for rendering utilities
101
+ * @param element - The code line element to render
102
+ * @param type - The rendering context type
103
+ * @param showAnchor - Whether to include anchor elements for navigation
104
+ * @returns Formatted HTML string for the code line
105
+ */
106
+ function renderCodeLinesToString(
107
+ workspace: Workspace,
108
+ element: AbstractCodeLineType,
109
+ type: string,
110
+ showAnchor: boolean
111
+ ): string {
112
+ // console.log(util.inspect(element, { compact: false, depth: 999 }))
113
+ assert(element instanceof CodeLineDataModel)
114
+
115
+ if (element.external !== undefined) {
116
+ console.error('external ignored in', element.constructor.name)
117
+ }
118
+
119
+ let permalink: string | undefined = undefined
120
+ if (element.refid !== undefined && element.refkind !== undefined) {
121
+ permalink = workspace.getPermalink({
122
+ refid: element.refid,
123
+ kindref: element.refkind,
124
+ })
125
+ }
126
+
127
+ let text = ''
128
+
129
+ text += '<div class="doxyCodeLine">'
130
+ if (element.lineno !== undefined) {
131
+ text += '<span class="doxyLineNumber">'
132
+ const anchor = `l${element.lineno.toString().padStart(5, '0')}`
133
+ if (showAnchor) {
134
+ text += `<a id="${anchor}"></a>`
135
+ }
136
+ if (permalink !== undefined) {
137
+ text += `<a href="${permalink}">${element.lineno.toString()}</a>`
138
+ } else {
139
+ text += element.lineno.toString()
140
+ }
141
+ text += '</span>'
142
+ } else {
143
+ text += '<span class="doxyNoLineNumber">&nbsp;</span>'
144
+ }
145
+
146
+ const content = workspace.renderElementsArrayToString(
147
+ element.highlights,
148
+ type
149
+ )
150
+ if (content.length > 0) {
151
+ text += `<span class="doxyLineContent">${content}</span>`
152
+ }
153
+ text += '</div>'
154
+
155
+ return text
156
+ }
157
+
158
+ /**
159
+ * Renderer for syntax highlighting elements in code listings.
160
+ *
161
+ * @remarks
162
+ * Handles the rendering of syntax-highlighted code segments by converting
163
+ * Doxygen highlight elements into HTML spans with appropriate CSS classes.
164
+ * Optimised for direct HTML generation to improve build performance.
165
+ *
166
+ * @public
167
+ */
168
+ export class HighlightTypeLinesRenderer extends ElementLinesRendererBase {
169
+ /**
170
+ * Mapping of Doxygen highlight classes to CSS class names.
171
+ *
172
+ * @remarks
173
+ * Maps Doxygen's built-in highlight types to corresponding CSS classes
174
+ * for consistent syntax highlighting across different code elements.
175
+ */
176
+ knownClasses: Record<string, string> = {
177
+ normal: 'doxyHighlight',
178
+ charliteral: 'doxyHighlightCharLiteral',
179
+ comment: 'doxyHighlightComment',
180
+ preprocessor: 'doxyHighlightPreprocessor',
181
+ keyword: 'doxyHighlightKeyword',
182
+ keywordtype: 'doxyHighlightKeywordType',
183
+ keywordflow: 'doxyHighlightKeywordFlow',
184
+ token: 'doxyHighlightToken',
185
+ stringliteral: 'doxyHighlightStringLiteral',
186
+ vhdlchar: 'doxyHighlightVhdlChar',
187
+ vhdlkeyword: 'doxyHighlightVhdlKeyword',
188
+ vhdllogic: 'doxyHighlightVhdlLogic',
189
+ }
190
+
191
+ /**
192
+ * Renders a syntax highlight element to formatted output lines.
193
+ *
194
+ * @remarks
195
+ * Converts Doxygen highlight elements into HTML span elements with
196
+ * appropriate CSS classes for syntax highlighting. Handles unknown
197
+ * highlight types by falling back to a default class.
198
+ *
199
+ * @param element - The highlight element to render
200
+ * @param type - The rendering context type
201
+ * @returns Array containing the formatted HTML span
202
+ */
203
+ override renderToLines(
204
+ element: AbstractHighlightType,
205
+ type: string
206
+ ): string[] {
207
+ // console.log(util.inspect(element, { compact: false, depth: 999 }))
208
+ assert(element instanceof HighlightDataModel)
209
+
210
+ let spanClass = this.knownClasses[element.classs]
211
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
212
+ if (spanClass === undefined) {
213
+ console.error(util.inspect(element, { compact: false, depth: 999 }))
214
+ console.error(
215
+ element.classs,
216
+ 'not implemented yet in',
217
+ this.constructor.name
218
+ )
219
+ spanClass = 'doxyHighlight'
220
+ }
221
+
222
+ let text = ''
223
+
224
+ assert(element.children !== undefined)
225
+ if (element.children.length > 0) {
226
+ text += `<span class="${spanClass}">`
227
+ text += this.workspace.renderElementsArrayToString(element.children, type)
228
+ text += '</span>'
229
+ }
230
+
231
+ return [text]
232
+ }
233
+ }
234
+
235
+ // ----------------------------------------------------------------------------
@@ -0,0 +1,116 @@
1
+ /*
2
+ * This file is part of the xPack project (http://xpack.github.io).
3
+ * Copyright (c) 2025-2026 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
+ // ----------------------------------------------------------------------------
13
+
14
+ // import assert from 'node:assert'
15
+ import * as util from 'node:util'
16
+
17
+ import { ElementLinesRendererBase } from './element-renderer-base.js'
18
+ import type { AbstractParamType } from '../../doxygen/data-model/compounds/paramtype-dm.js'
19
+
20
+ // ----------------------------------------------------------------------------
21
+
22
+ // <xsd:complexType name="paramType">
23
+ // <xsd:sequence>
24
+ // <xsd:element name="attributes" type="xsd:string" minOccurs="0" />
25
+ // <xsd:element name="type" type="linkedTextType" minOccurs="0" />
26
+ // <xsd:element name="declname" type="xsd:string" minOccurs="0" />
27
+ // <xsd:element name="defname" type="xsd:string" minOccurs="0" />
28
+ // <xsd:element name="array" type="xsd:string" minOccurs="0" />
29
+ // <xsd:element name="defval" type="linkedTextType" minOccurs="0" />
30
+ // <xsd:element name="typeconstraint" type="linkedTextType" minOccurs="0" />
31
+ // <xsd:element name="briefdescription" type="descriptionType"
32
+ // minOccurs="0" />
33
+ // </xsd:sequence>
34
+ // </xsd:complexType>
35
+
36
+ /**
37
+ * Renderer for parameter type elements in function documentation.
38
+ *
39
+ * @remarks
40
+ * Handles the rendering of function and method parameters as parsed from
41
+ * Doxygen XML, converting them into formatted output that includes type
42
+ * information, parameter names, and default values when available.
43
+ *
44
+ * @public
45
+ */
46
+ export class ParamTypeLinesRenderer extends ElementLinesRendererBase {
47
+ /**
48
+ * Renders a parameter element to formatted output lines.
49
+ *
50
+ * @remarks
51
+ * Converts Doxygen parameter elements into formatted text including
52
+ * type information, parameter names, array specifications, and default
53
+ * values. Handles both declaration and definition name variants.
54
+ *
55
+ * @param element - The parameter element to render
56
+ * @param type - The rendering context type
57
+ * @returns Array of formatted output lines
58
+ */
59
+ override renderToLines(element: AbstractParamType, type: string): string[] {
60
+ // console.log(util.inspect(element, { compact: false, depth: 999 }))
61
+
62
+ if (element.attributes !== undefined) {
63
+ console.error(util.inspect(element, { compact: false, depth: 999 }))
64
+ console.error(
65
+ element.elementName,
66
+ 'property attributes not yet rendered in',
67
+ this.constructor.name
68
+ )
69
+ }
70
+ if (element.defname !== undefined) {
71
+ console.error(util.inspect(element, { compact: false, depth: 999 }))
72
+ console.error(
73
+ element.elementName,
74
+ 'property defname not yet rendered in',
75
+ this.constructor.name
76
+ )
77
+ }
78
+ if (element.typeconstraint !== undefined) {
79
+ console.error(util.inspect(element, { compact: false, depth: 999 }))
80
+ console.error(
81
+ element.elementName,
82
+ 'property typeconstraint not yet rendered in',
83
+ this.constructor.name
84
+ )
85
+ }
86
+ if (element.briefdescription !== undefined) {
87
+ console.error(util.inspect(element, { compact: false, depth: 999 }))
88
+ console.error(
89
+ element.elementName,
90
+ 'property briefdescription not yet rendered in',
91
+ this.constructor.name
92
+ )
93
+ }
94
+
95
+ let text = ''
96
+
97
+ text += this.workspace.renderElementToString(element.type, type)
98
+ if (element.declname !== undefined) {
99
+ text += ` ${element.declname}`
100
+ if (element.array !== undefined) {
101
+ text += `=${element.array}`
102
+ }
103
+ if (element.defval !== undefined) {
104
+ const defvalStr = this.workspace.renderElementToString(
105
+ element.defval,
106
+ type
107
+ )
108
+ text += `=${defvalStr}`
109
+ }
110
+ }
111
+
112
+ return [text]
113
+ }
114
+ }
115
+
116
+ // ----------------------------------------------------------------------------
@@ -0,0 +1,83 @@
1
+ /*
2
+ * This file is part of the xPack project (http://xpack.github.io).
3
+ * Copyright (c) 2025-2026 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
+ // ----------------------------------------------------------------------------
13
+
14
+ import assert from 'node:assert'
15
+ // import * as util from 'node:util'
16
+
17
+ import { ElementStringRendererBase } from './element-renderer-base.js'
18
+ import {
19
+ type AbstractReferenceType,
20
+ ReferenceDataModel,
21
+ ReferencedByDataModel,
22
+ } from '../../doxygen/data-model/compounds/referencetype-dm.js'
23
+ import { sanitizeAnonymousNamespace } from '../utils.js'
24
+
25
+ // ----------------------------------------------------------------------------
26
+
27
+ /**
28
+ * Renderer for reference elements in documentation cross-references.
29
+ *
30
+ * @remarks
31
+ * Handles the rendering of cross-reference elements that link to other
32
+ * documented members, creating appropriate hyperlinks with proper
33
+ * permalinks for navigation within the documentation.
34
+ *
35
+ * @public
36
+ */
37
+ export class ReferenceTypeStringRenderer extends ElementStringRendererBase {
38
+ /**
39
+ * Renders a reference element to a formatted string with hyperlinks.
40
+ *
41
+ * @remarks
42
+ * Converts Doxygen reference elements into HTML anchor tags with
43
+ * appropriate permalinks to the referenced members. Handles both
44
+ * forward references and reverse references whilst sanitising
45
+ * anonymous namespace names for display.
46
+ *
47
+ * @param element - The reference element to render
48
+ * @param type - The rendering context type
49
+ * @returns Formatted HTML string with hyperlink
50
+ */
51
+ renderToString(element: AbstractReferenceType, type: string): string {
52
+ // console.log(util.inspect(element, { compact: false, depth: 999 }))
53
+
54
+ let text = ''
55
+
56
+ if (
57
+ element instanceof ReferencedByDataModel ||
58
+ element instanceof ReferenceDataModel
59
+ ) {
60
+ const memberPermalink = this.workspace.getPermalink({
61
+ refid: element.refid,
62
+ kindref: 'member',
63
+ })
64
+ assert(memberPermalink !== undefined)
65
+ const name = this.workspace.renderString(
66
+ sanitizeAnonymousNamespace(element.text.trim()),
67
+ type
68
+ )
69
+ text += `<a href="${memberPermalink}">${name}</a>`
70
+ } else {
71
+ console.error(
72
+ element.constructor.name,
73
+ 'not implemented by',
74
+ this.constructor.name
75
+ )
76
+ return ''
77
+ }
78
+
79
+ return text
80
+ }
81
+ }
82
+
83
+ // ----------------------------------------------------------------------------
@@ -0,0 +1,81 @@
1
+ /*
2
+ * This file is part of the xPack project (http://xpack.github.io).
3
+ * Copyright (c) 2025-2026 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
+ // ----------------------------------------------------------------------------
13
+
14
+ // import assert from 'node:assert'
15
+ // import * as util from 'node:util'
16
+
17
+ import { ElementStringRendererBase } from './element-renderer-base.js'
18
+ import type { AbstractRefTextType } from '../../doxygen/data-model/compounds/reftexttype-dm.js'
19
+
20
+ // ----------------------------------------------------------------------------
21
+
22
+ /**
23
+ * Renderer for Doxygen reference text elements with linking functionality.
24
+ *
25
+ * @remarks
26
+ * Converts reference text elements into HTML anchor tags when a valid
27
+ * permalink is available, otherwise renders as plain text. Provides
28
+ * cross-reference functionality for Doxygen elements.
29
+ *
30
+ * @public
31
+ */
32
+ export class RefTextTypeStringRenderer extends ElementStringRendererBase {
33
+ /**
34
+ * Renders a reference text element to a formatted string with linking.
35
+ *
36
+ * @remarks
37
+ * Generates an HTML anchor tag when a valid permalink exists for the
38
+ * referenced element, otherwise renders the text content directly.
39
+ * Logs warnings for unsupported attributes that are not yet implemented.
40
+ *
41
+ * @param element - The reference text element to render
42
+ * @param type - The rendering context type
43
+ * @returns The formatted HTML string with optional link
44
+ */
45
+ renderToString(element: AbstractRefTextType, type: string): string {
46
+ // console.log(util.inspect(element, { compact: false, depth: 999 }))
47
+
48
+ if (element.external !== undefined) {
49
+ console.error(
50
+ element.elementName,
51
+ 'attribute external not yet rendered in',
52
+ this.constructor.name
53
+ )
54
+ }
55
+ if (element.tooltip !== undefined) {
56
+ console.error(
57
+ element.elementName,
58
+ 'attribute tooltip not yet rendered in',
59
+ this.constructor.name
60
+ )
61
+ }
62
+
63
+ let text = ''
64
+
65
+ const permalink = this.workspace.getPermalink({
66
+ refid: element.refid,
67
+ kindref: element.kindref,
68
+ })
69
+
70
+ const content = this.workspace.renderString(element.text.trim(), type)
71
+ if (permalink !== undefined && permalink.length > 0) {
72
+ text += `<a href="${permalink}">${content}</a>`
73
+ } else {
74
+ text += content
75
+ }
76
+
77
+ return text
78
+ }
79
+ }
80
+
81
+ // ----------------------------------------------------------------------------
@@ -0,0 +1,77 @@
1
+ /*
2
+ * This file is part of the xPack project (http://xpack.github.io).
3
+ * Copyright (c) 2025-2026 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
+ // ----------------------------------------------------------------------------
13
+
14
+ // import assert from 'node:assert'
15
+ // import * as util from 'node:util'
16
+
17
+ import { ElementLinesRendererBase } from './element-renderer-base.js'
18
+ import type { AbstractRefType } from '../../doxygen/data-model/compounds/reftype-dm.js'
19
+
20
+ // ----------------------------------------------------------------------------
21
+
22
+ /**
23
+ * Renderer for reference type elements in documentation cross-references.
24
+ *
25
+ * @remarks
26
+ * Handles the rendering of reference elements that link to other documented
27
+ * entities, creating appropriate hyperlinks with permalinks when targets
28
+ * are available. Used for cross-referencing between documentation elements.
29
+ *
30
+ * @public
31
+ */
32
+ export class RefTypeLinesRenderer extends ElementLinesRendererBase {
33
+ /**
34
+ * Renders a reference element to formatted output lines.
35
+ *
36
+ * @remarks
37
+ * Converts Doxygen reference elements into HTML anchor tags with
38
+ * appropriate permalinks to the referenced entities. Falls back to
39
+ * plain text when no permalink is available for the target.
40
+ *
41
+ * @param element - The reference element to render
42
+ * @param type - The rendering context type
43
+ * @returns Array of formatted output lines
44
+ */
45
+ override renderToLines(element: AbstractRefType, type: string): string[] {
46
+ // console.log(util.inspect(element, { compact: false, depth: 999 }))
47
+
48
+ if (element.prot !== undefined) {
49
+ console.error(
50
+ element.elementName,
51
+ 'attribute prot not yet rendered in',
52
+ this.constructor.name
53
+ )
54
+ }
55
+ if (element.inline !== undefined) {
56
+ console.error(
57
+ element.elementName,
58
+ 'attribute inline not yet rendered in',
59
+ this.constructor.name
60
+ )
61
+ }
62
+
63
+ const lines: string[] = []
64
+
65
+ const content = this.workspace.renderString(element.text.trim(), type)
66
+ const permalink = this.workspace.getPagePermalink(element.refid)
67
+ if (permalink !== undefined && permalink.length > 0) {
68
+ lines.push(`<a href="${permalink}">${content}</a>`)
69
+ } else {
70
+ lines.push(content)
71
+ }
72
+
73
+ return lines
74
+ }
75
+ }
76
+
77
+ // ----------------------------------------------------------------------------