@xpack/doxygen2docusaurus 2.0.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.
- package/LICENSE +1 -1
- package/README.md +2 -1
- package/bin/doxygen2docusaurus.js +1 -1
- package/dist/cli/main.d.ts +0 -14
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +0 -34
- package/dist/cli/main.js.map +1 -1
- package/dist/docusaurus/cli-options.d.ts +3 -292
- package/dist/docusaurus/cli-options.d.ts.map +1 -1
- package/dist/docusaurus/cli-options.js +6 -290
- package/dist/docusaurus/cli-options.js.map +1 -1
- package/dist/docusaurus/generator.d.ts +0 -172
- package/dist/docusaurus/generator.d.ts.map +1 -1
- package/dist/docusaurus/generator.js +20 -280
- package/dist/docusaurus/generator.js.map +1 -1
- package/dist/docusaurus/renderers/descriptiontype.d.ts +0 -417
- package/dist/docusaurus/renderers/descriptiontype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/descriptiontype.js +11 -555
- package/dist/docusaurus/renderers/descriptiontype.js.map +1 -1
- package/dist/docusaurus/renderers/docinternalstype.d.ts +0 -132
- package/dist/docusaurus/renderers/docinternalstype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docinternalstype.js +0 -156
- package/dist/docusaurus/renderers/docinternalstype.js.map +1 -1
- package/dist/docusaurus/renderers/doclisttype.d.ts +0 -22
- package/dist/docusaurus/renderers/doclisttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doclisttype.js +0 -42
- package/dist/docusaurus/renderers/doclisttype.js.map +1 -1
- package/dist/docusaurus/renderers/doctabletype.d.ts +0 -88
- package/dist/docusaurus/renderers/doctabletype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doctabletype.js +1 -113
- package/dist/docusaurus/renderers/doctabletype.js.map +1 -1
- package/dist/docusaurus/renderers/doctitletype.d.ts +0 -22
- package/dist/docusaurus/renderers/doctitletype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doctitletype.js +0 -42
- package/dist/docusaurus/renderers/doctitletype.js.map +1 -1
- package/dist/docusaurus/renderers/docvariablelisttype.d.ts +0 -44
- package/dist/docusaurus/renderers/docvariablelisttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docvariablelisttype.js +1 -69
- package/dist/docusaurus/renderers/docvariablelisttype.js.map +1 -1
- package/dist/docusaurus/renderers/docxrefsecttype.d.ts +0 -22
- package/dist/docusaurus/renderers/docxrefsecttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docxrefsecttype.js +0 -38
- package/dist/docusaurus/renderers/docxrefsecttype.js.map +1 -1
- package/dist/docusaurus/renderers/element-renderer-base.d.ts +0 -74
- package/dist/docusaurus/renderers/element-renderer-base.d.ts.map +1 -1
- package/dist/docusaurus/renderers/element-renderer-base.js +0 -64
- package/dist/docusaurus/renderers/element-renderer-base.js.map +1 -1
- package/dist/docusaurus/renderers/inctype.d.ts +0 -23
- package/dist/docusaurus/renderers/inctype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/inctype.js +0 -41
- package/dist/docusaurus/renderers/inctype.js.map +1 -1
- package/dist/docusaurus/renderers/linkedtexttype.d.ts +0 -22
- package/dist/docusaurus/renderers/linkedtexttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/linkedtexttype.js +0 -45
- package/dist/docusaurus/renderers/linkedtexttype.js.map +1 -1
- package/dist/docusaurus/renderers/listingtype.d.ts +0 -52
- package/dist/docusaurus/renderers/listingtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/listingtype.js +1 -88
- package/dist/docusaurus/renderers/listingtype.js.map +1 -1
- package/dist/docusaurus/renderers/paramtype.d.ts +0 -22
- package/dist/docusaurus/renderers/paramtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/paramtype.js +2 -51
- package/dist/docusaurus/renderers/paramtype.js.map +1 -1
- package/dist/docusaurus/renderers/referencetype.d.ts +0 -23
- package/dist/docusaurus/renderers/referencetype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/referencetype.js +0 -38
- package/dist/docusaurus/renderers/referencetype.js.map +1 -1
- package/dist/docusaurus/renderers/reftexttype.d.ts +0 -22
- package/dist/docusaurus/renderers/reftexttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/reftexttype.js +0 -38
- package/dist/docusaurus/renderers/reftexttype.js.map +1 -1
- package/dist/docusaurus/renderers/reftype.d.ts +0 -22
- package/dist/docusaurus/renderers/reftype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/reftype.js +0 -38
- package/dist/docusaurus/renderers/reftype.js.map +1 -1
- package/dist/docusaurus/renderers/renderers.d.ts +0 -151
- package/dist/docusaurus/renderers/renderers.d.ts.map +1 -1
- package/dist/docusaurus/renderers/renderers.js +4 -184
- package/dist/docusaurus/renderers/renderers.js.map +1 -1
- package/dist/docusaurus/renderers/substringtype.d.ts +0 -22
- package/dist/docusaurus/renderers/substringtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/substringtype.js +0 -39
- package/dist/docusaurus/renderers/substringtype.js.map +1 -1
- package/dist/docusaurus/renderers/tableofcontentstype.d.ts +0 -22
- package/dist/docusaurus/renderers/tableofcontentstype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/tableofcontentstype.js +0 -39
- package/dist/docusaurus/renderers/tableofcontentstype.js.map +1 -1
- package/dist/docusaurus/types.d.ts +0 -110
- package/dist/docusaurus/types.d.ts.map +1 -1
- package/dist/docusaurus/types.js +0 -11
- package/dist/docusaurus/types.js.map +1 -1
- package/dist/docusaurus/utils.d.ts +0 -214
- package/dist/docusaurus/utils.d.ts.map +1 -1
- package/dist/docusaurus/utils.js +0 -296
- package/dist/docusaurus/utils.js.map +1 -1
- package/dist/docusaurus/view-model/classes-vm.d.ts +0 -137
- package/dist/docusaurus/view-model/classes-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/classes-vm.js +9 -225
- package/dist/docusaurus/view-model/classes-vm.js.map +1 -1
- package/dist/docusaurus/view-model/collection-base.d.ts +0 -120
- package/dist/docusaurus/view-model/collection-base.d.ts.map +1 -1
- package/dist/docusaurus/view-model/collection-base.js +11 -101
- package/dist/docusaurus/view-model/collection-base.js.map +1 -1
- package/dist/docusaurus/view-model/compound-base-vm.d.ts +2 -147
- package/dist/docusaurus/view-model/compound-base-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/compound-base-vm.js +47 -225
- package/dist/docusaurus/view-model/compound-base-vm.js.map +1 -1
- package/dist/docusaurus/view-model/concepts-vm.d.ts +26 -0
- package/dist/docusaurus/view-model/concepts-vm.d.ts.map +1 -0
- package/dist/docusaurus/view-model/concepts-vm.js +329 -0
- package/dist/docusaurus/view-model/concepts-vm.js.map +1 -0
- package/dist/docusaurus/view-model/description-anchors.d.ts +0 -58
- package/dist/docusaurus/view-model/description-anchors.d.ts.map +1 -1
- package/dist/docusaurus/view-model/description-anchors.js +0 -71
- package/dist/docusaurus/view-model/description-anchors.js.map +1 -1
- package/dist/docusaurus/view-model/files-and-folders-vm.d.ts +0 -247
- package/dist/docusaurus/view-model/files-and-folders-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/files-and-folders-vm.js +61 -353
- package/dist/docusaurus/view-model/files-and-folders-vm.js.map +1 -1
- package/dist/docusaurus/view-model/groups-vm.d.ts +0 -148
- package/dist/docusaurus/view-model/groups-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/groups-vm.js +2 -223
- package/dist/docusaurus/view-model/groups-vm.js.map +1 -1
- package/dist/docusaurus/view-model/members-vm.d.ts +0 -552
- package/dist/docusaurus/view-model/members-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/members-vm.js +17 -702
- package/dist/docusaurus/view-model/members-vm.js.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.d.ts +4 -199
- package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.js +79 -284
- package/dist/docusaurus/view-model/namespaces-vm.js.map +1 -1
- package/dist/docusaurus/view-model/options.d.ts +0 -43
- package/dist/docusaurus/view-model/options.d.ts.map +1 -1
- package/dist/docusaurus/view-model/options.js +0 -57
- package/dist/docusaurus/view-model/options.js.map +1 -1
- package/dist/docusaurus/view-model/pages-vm.d.ts +0 -115
- package/dist/docusaurus/view-model/pages-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/pages-vm.js +0 -162
- package/dist/docusaurus/view-model/pages-vm.js.map +1 -1
- package/dist/docusaurus/view-model/tree-entries-vm.d.ts +8 -142
- package/dist/docusaurus/view-model/tree-entries-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/tree-entries-vm.js +54 -174
- package/dist/docusaurus/view-model/tree-entries-vm.js.map +1 -1
- package/dist/docusaurus/view-model/view-model.d.ts +0 -125
- package/dist/docusaurus/view-model/view-model.d.ts.map +1 -1
- package/dist/docusaurus/view-model/view-model.js +20 -182
- package/dist/docusaurus/view-model/view-model.js.map +1 -1
- package/dist/docusaurus/workspace.d.ts +1 -126
- package/dist/docusaurus/workspace.d.ts.map +1 -1
- package/dist/docusaurus/workspace.js +8 -221
- package/dist/docusaurus/workspace.js.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts +5 -492
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.js +23 -672
- package/dist/doxygen/data-model/compounds/compounddef-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts +0 -129
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.js +1 -145
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts +104 -2848
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.js +73 -3975
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts +0 -165
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js +0 -229
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts +0 -70
- package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/doxygentype-dm.js +0 -105
- package/dist/doxygen/data-model/compounds/doxygentype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts +0 -84
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js +1 -122
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/inctype-dm.d.ts +0 -116
- package/dist/doxygen/data-model/compounds/inctype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/inctype-dm.js +3 -155
- package/dist/doxygen/data-model/compounds/inctype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts +3 -138
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js +5 -180
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts +0 -76
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js +0 -107
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts +0 -162
- package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/locationtype-dm.js +4 -203
- package/dist/doxygen/data-model/compounds/locationtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts +2 -443
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.js +19 -475
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts +0 -141
- package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/memberreftype-dm.js +0 -176
- package/dist/doxygen/data-model/compounds/memberreftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/membertype-dm.d.ts +0 -101
- package/dist/doxygen/data-model/compounds/membertype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/membertype-dm.js +0 -115
- package/dist/doxygen/data-model/compounds/membertype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts +0 -164
- package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.js +0 -208
- package/dist/doxygen/data-model/compounds/paramtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts +0 -139
- package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/referencetype-dm.js +2 -175
- package/dist/doxygen/data-model/compounds/referencetype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts +0 -120
- package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reftexttype-dm.js +2 -141
- package/dist/doxygen/data-model/compounds/reftexttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reftype-dm.d.ts +0 -268
- package/dist/doxygen/data-model/compounds/reftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reftype-dm.js +4 -326
- package/dist/doxygen/data-model/compounds/reftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts +0 -105
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.js +1 -139
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts +0 -168
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js +0 -209
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts +0 -267
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js +0 -354
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts +0 -66
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js +0 -97
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/data-model.d.ts +0 -149
- package/dist/doxygen/data-model/data-model.d.ts.map +1 -1
- package/dist/doxygen/data-model/data-model.js +4 -197
- package/dist/doxygen/data-model/data-model.js.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts +0 -115
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js +4 -129
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts +0 -87
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js +0 -118
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js.map +1 -1
- package/dist/doxygen/data-model/doxygen-xml-parser.d.ts +0 -253
- package/dist/doxygen/data-model/doxygen-xml-parser.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxygen-xml-parser.js +0 -291
- package/dist/doxygen/data-model/doxygen-xml-parser.js.map +1 -1
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts +0 -98
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.js +2 -122
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts +0 -82
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.js +0 -114
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.js.map +1 -1
- package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts +0 -85
- package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexmembertype-dm.js +1 -107
- package/dist/doxygen/data-model/index/indexmembertype-dm.js.map +1 -1
- package/dist/doxygen/data-model/types.d.ts +0 -104
- package/dist/doxygen/data-model/types.d.ts.map +1 -1
- package/dist/doxygen/data-model/types.js +0 -52
- package/dist/doxygen/data-model/types.js.map +1 -1
- package/dist/index.d.ts +4 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -42
- package/dist/index.js.map +1 -1
- package/package.json +45 -51
- package/src/cli/main.ts +122 -0
- package/src/docusaurus/cli-options.ts +560 -0
- package/src/docusaurus/generator.ts +788 -0
- package/src/docusaurus/renderers/descriptiontype.ts +1299 -0
- package/src/docusaurus/renderers/docinternalstype.ts +354 -0
- package/src/docusaurus/renderers/doclisttype.ts +134 -0
- package/src/docusaurus/renderers/doctabletype.ts +220 -0
- package/src/docusaurus/renderers/doctitletype.ts +77 -0
- package/src/docusaurus/renderers/docvariablelisttype.ts +123 -0
- package/src/docusaurus/renderers/docxrefsecttype.ts +84 -0
- package/src/docusaurus/renderers/element-renderer-base.ts +112 -0
- package/src/docusaurus/renderers/inctype.ts +75 -0
- package/src/docusaurus/renderers/linkedtexttype.ts +64 -0
- package/src/docusaurus/renderers/listingtype.ts +235 -0
- package/src/docusaurus/renderers/paramtype.ts +116 -0
- package/src/docusaurus/renderers/referencetype.ts +83 -0
- package/src/docusaurus/renderers/reftexttype.ts +81 -0
- package/src/docusaurus/renderers/reftype.ts +77 -0
- package/src/docusaurus/renderers/renderers.ts +756 -0
- package/src/docusaurus/renderers/substringtype.ts +53 -0
- package/src/docusaurus/renderers/tableofcontentstype.ts +74 -0
- package/src/docusaurus/types.ts +187 -0
- package/src/docusaurus/utils.ts +409 -0
- package/src/docusaurus/view-model/README.md +12 -0
- package/src/docusaurus/view-model/classes-vm.ts +1088 -0
- package/src/docusaurus/view-model/collection-base.ts +352 -0
- package/src/docusaurus/view-model/compound-base-vm.ts +1340 -0
- package/src/docusaurus/view-model/concepts-vm.ts +719 -0
- package/src/docusaurus/view-model/description-anchors.ts +107 -0
- package/src/docusaurus/view-model/files-and-folders-vm.ts +1293 -0
- package/src/docusaurus/view-model/groups-vm.ts +548 -0
- package/src/docusaurus/view-model/members-vm.ts +1943 -0
- package/src/docusaurus/view-model/namespaces-vm.ts +1018 -0
- package/src/docusaurus/view-model/options.ts +95 -0
- package/src/docusaurus/view-model/pages-vm.ts +342 -0
- package/src/docusaurus/view-model/tree-entries-vm.ts +376 -0
- package/src/docusaurus/view-model/view-model.ts +513 -0
- package/src/docusaurus/workspace.ts +588 -0
- package/src/doxygen/data-model/README.md +13 -0
- package/src/doxygen/data-model/compounds/compounddef-dm.ts +1156 -0
- package/src/doxygen/data-model/compounds/compoundreftype-dm.ts +266 -0
- package/src/doxygen/data-model/compounds/descriptiontype-dm.ts +10107 -0
- package/src/doxygen/data-model/compounds/docvarlistentrytype-dm.ts +354 -0
- package/src/doxygen/data-model/compounds/doxygentype-dm.ts +187 -0
- package/src/doxygen/data-model/compounds/enumvaluetype-dm.ts +218 -0
- package/src/doxygen/data-model/compounds/inctype-dm.ts +217 -0
- package/src/doxygen/data-model/compounds/linkedtexttype-dm.ts +288 -0
- package/src/doxygen/data-model/compounds/listofallmemberstype-dm.ts +160 -0
- package/src/doxygen/data-model/compounds/locationtype-dm.ts +284 -0
- package/src/doxygen/data-model/compounds/memberdeftype-dm.ts +874 -0
- package/src/doxygen/data-model/compounds/memberreftype-dm.ts +270 -0
- package/src/doxygen/data-model/compounds/membertype-dm.ts +239 -0
- package/src/doxygen/data-model/compounds/paramtype-dm.ts +302 -0
- package/src/doxygen/data-model/compounds/referencetype-dm.ts +248 -0
- package/src/doxygen/data-model/compounds/reftexttype-dm.ts +234 -0
- package/src/doxygen/data-model/compounds/reftype-dm.ts +430 -0
- package/src/doxygen/data-model/compounds/reimplementtype-dm.ts +201 -0
- package/src/doxygen/data-model/compounds/sectiondeftype-dm.ts +330 -0
- package/src/doxygen/data-model/compounds/tableofcontentstype-dm.ts +563 -0
- package/src/doxygen/data-model/compounds/templateparamlisttype-dm.ts +150 -0
- package/src/doxygen/data-model/data-model.ts +377 -0
- package/src/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.ts +271 -0
- package/src/doxygen/data-model/doxyfile/doxyfiletype-dm.ts +200 -0
- package/src/doxygen/data-model/doxygen-xml-parser.ts +522 -0
- package/src/doxygen/data-model/index/indexcompoundtype-dm.ts +256 -0
- package/src/doxygen/data-model/index/indexdoxygentype-dm.ts +196 -0
- package/src/doxygen/data-model/index/indexmembertype-dm.ts +230 -0
- package/src/doxygen/data-model/types.ts +175 -0
- package/src/doxygen/data-model/xsds/README.md +6 -0
- package/src/doxygen/data-model/xsds/compound.xsd +1699 -0
- package/src/doxygen/data-model/xsds/doxyfile.xsd +355 -0
- package/src/doxygen/data-model/xsds/index.xsd +72 -0
- package/src/doxygen/data-model/xsds/xml.xsd +23 -0
- package/src/index.ts +261 -0
- package/src/tsconfig.json +10 -0
- package/dist/doxygen2docusaurus.d.ts +0 -4774
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/tsdoc-metadata.json +0 -11
package/dist/docusaurus/utils.js
CHANGED
|
@@ -1,34 +1,6 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file is part of the xPack project (http://xpack.github.io).
|
|
3
|
-
* Copyright (c) 2025 Liviu Ionescu. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Permission to use, copy, modify, and/or distribute this software
|
|
6
|
-
* for any purpose is hereby granted, under the terms of the MIT license.
|
|
7
|
-
*
|
|
8
|
-
* If a copy of the license was not distributed with this file, it can
|
|
9
|
-
* be obtained from https://opensource.org/licenses/MIT.
|
|
10
|
-
*/
|
|
11
|
-
// ----------------------------------------------------------------------------
|
|
12
1
|
import * as fs from 'node:fs/promises';
|
|
13
|
-
// ----------------------------------------------------------------------------
|
|
14
|
-
/**
|
|
15
|
-
* Formats a Date object into a standardised UTC string representation.
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* Produces a timestamp in the format "YYYY-MM-DD HH:mm:ss +0000" using
|
|
19
|
-
* UTC timezone for consistent date formatting across different environments.
|
|
20
|
-
* This format ensures reproducible timestamps regardless of the local
|
|
21
|
-
* system timezone, which is essential for documentation generation consistency.
|
|
22
|
-
*
|
|
23
|
-
* @param date - The Date object to format.
|
|
24
|
-
* @returns A formatted date string in UTC with timezone offset.
|
|
25
|
-
*
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
2
|
export function formatDate(date) {
|
|
29
|
-
// Custom format: YYYY-MM-DD HH:mm:ss
|
|
30
3
|
const year = date.getUTCFullYear();
|
|
31
|
-
// The +1 is needed because months are zero-based.
|
|
32
4
|
const month = String(date.getUTCMonth() + 1).padStart(2, '0');
|
|
33
5
|
const day = String(date.getUTCDate()).padStart(2, '0');
|
|
34
6
|
const hours = String(date.getUTCHours()).padStart(2, '0');
|
|
@@ -37,20 +9,6 @@ export function formatDate(date) {
|
|
|
37
9
|
return (`${year.toString()}-${month}-${day} ${hours}:${minutes}:${seconds} ` +
|
|
38
10
|
'+0000');
|
|
39
11
|
}
|
|
40
|
-
/**
|
|
41
|
-
* Formats a duration value into a human-readable string representation.
|
|
42
|
-
*
|
|
43
|
-
* @remarks
|
|
44
|
-
* Converts millisecond values into appropriate units (milliseconds, seconds,
|
|
45
|
-
* or minutes) with appropriate precision for display purposes. The function
|
|
46
|
-
* automatically selects the most suitable unit based on the magnitude of
|
|
47
|
-
* the duration value to ensure optimal readability for performance reporting.
|
|
48
|
-
*
|
|
49
|
-
* @param n - The duration in milliseconds.
|
|
50
|
-
* @returns A formatted duration string with appropriate units.
|
|
51
|
-
*
|
|
52
|
-
* @public
|
|
53
|
-
*/
|
|
54
12
|
export function formatDuration(n) {
|
|
55
13
|
if (n < 1000) {
|
|
56
14
|
return `${n.toString()} ms`;
|
|
@@ -62,105 +20,9 @@ export function formatDuration(n) {
|
|
|
62
20
|
return `${(n / 60000).toFixed(1)} min`;
|
|
63
21
|
}
|
|
64
22
|
}
|
|
65
|
-
// ----------------------------------------------------------------------------
|
|
66
|
-
// /**
|
|
67
|
-
// * Escape characters that are problematic in MDX/JSX context.
|
|
68
|
-
// * This includes HTML special chars and MDX/JSX delimiters.
|
|
69
|
-
// */
|
|
70
|
-
// export function escapeMdx (text: string): string {
|
|
71
|
-
// return text
|
|
72
|
-
// .replaceAll(/[&]/g, '&')
|
|
73
|
-
// .replaceAll(/[<]/g, '<')
|
|
74
|
-
// .replaceAll(/[>]/g, '>')
|
|
75
|
-
// .replaceAll(/["]/g, '"')
|
|
76
|
-
// .replaceAll(/[']/g, ''')
|
|
77
|
-
// .replaceAll(/[`]/g, '`')
|
|
78
|
-
// .replaceAll(/{/g, '{')
|
|
79
|
-
// .replaceAll(/}/g, '}')
|
|
80
|
-
// .replaceAll(/\[/g, '[')
|
|
81
|
-
// .replaceAll(/\]/g, ']')
|
|
82
|
-
// .replaceAll(/~/g, '~')
|
|
83
|
-
// .replaceAll(/[\\]/g, '\\\\')
|
|
84
|
-
// .replaceAll(/\*/g, '*') // Markdown for bold
|
|
85
|
-
// .replaceAll(/_/g, '_') // Markdown for italics
|
|
86
|
-
// }
|
|
87
|
-
// export function encodeUrl (text: string): string {
|
|
88
|
-
// return text
|
|
89
|
-
// .replaceAll(/[<]/g, '%3C')
|
|
90
|
-
// .replaceAll(/[>]/g, '%3E')
|
|
91
|
-
// .replaceAll(/[(]/g, '%28')
|
|
92
|
-
// .replaceAll(/[)]/g, '%29')
|
|
93
|
-
// .replaceAll(/[&]/g, '%26')
|
|
94
|
-
// .replaceAll(/[*]/g, '%2A')
|
|
95
|
-
// }
|
|
96
|
-
// /**
|
|
97
|
-
// * Escape characters that are problematic in a markdown context.
|
|
98
|
-
// * This includes HTML special chars and markdown delimiters.
|
|
99
|
-
// */
|
|
100
|
-
// export function escapeMarkdown (text: string): string {
|
|
101
|
-
// return text
|
|
102
|
-
// .replaceAll(/&/g, '&')
|
|
103
|
-
// .replaceAll(/</g, '<')
|
|
104
|
-
// .replaceAll(/>/g, '>')
|
|
105
|
-
// .replaceAll(/\\/g, '\\\\') // Must be placed before \[ \]
|
|
106
|
-
// .replaceAll(/\[/g, '\\[')
|
|
107
|
-
// .replaceAll(/\]/g, '\\]')
|
|
108
|
-
// .replaceAll(/\*/g, '\\*') // Markdown for bold
|
|
109
|
-
// .replaceAll(/_/g, '\\_') // Markdown for italics
|
|
110
|
-
// .replaceAll(/~/g, '\\~') // Markdown for strikethrough in GFM
|
|
111
|
-
// }
|
|
112
|
-
// /**
|
|
113
|
-
// * In <code></code> only a few characters need to be escaped.
|
|
114
|
-
// */
|
|
115
|
-
// export function escapeHtml (text: string): string {
|
|
116
|
-
// return text
|
|
117
|
-
// .replaceAll(/&/g, '&')
|
|
118
|
-
// .replaceAll(/</g, '<')
|
|
119
|
-
// .replaceAll(/>/g, '>')
|
|
120
|
-
// }
|
|
121
|
-
// export function escapeQuotes (text: string): string {
|
|
122
|
-
// return text
|
|
123
|
-
// .replaceAll(/"/g, '"')
|
|
124
|
-
// }
|
|
125
|
-
// // type='plain-html'
|
|
126
|
-
// export function escapeBraces (text: string): string {
|
|
127
|
-
// return text
|
|
128
|
-
// .replaceAll(/{/g, '{') // MD
|
|
129
|
-
// .replaceAll(/}/g, '}') // MD
|
|
130
|
-
// }
|
|
131
|
-
/**
|
|
132
|
-
* Removes empty lines from a text string.
|
|
133
|
-
*
|
|
134
|
-
* @remarks
|
|
135
|
-
* Eliminates lines that contain only whitespace characters, helping to
|
|
136
|
-
* clean up text content for documentation processing. This function is
|
|
137
|
-
* particularly useful for normalising content extracted from XML sources
|
|
138
|
-
* where formatting artefacts may introduce unwanted empty lines.
|
|
139
|
-
*
|
|
140
|
-
* @param text - The input text to process.
|
|
141
|
-
* @returns The text with empty lines removed.
|
|
142
|
-
*
|
|
143
|
-
* @public
|
|
144
|
-
*/
|
|
145
23
|
export function removeEmptyLines(text) {
|
|
146
24
|
return text.replace(/^\s*$(?:\r\n?|\n)/gm, '');
|
|
147
25
|
}
|
|
148
|
-
/**
|
|
149
|
-
* Sanitises text for use in hierarchical URL paths.
|
|
150
|
-
*
|
|
151
|
-
* @remarks
|
|
152
|
-
* Transforms text into a URL-safe format suitable for hierarchical paths
|
|
153
|
-
* by converting to lowercase, removing spaces, encoding special characters,
|
|
154
|
-
* and preserving forward slashes for path structure. This function ensures
|
|
155
|
-
* that generated URLs are compatible with web standards whilst maintaining
|
|
156
|
-
* the hierarchical nature of documentation structures.
|
|
157
|
-
*
|
|
158
|
-
* @param text - The input text to sanitise.
|
|
159
|
-
* @returns A URL-safe hierarchical path string.
|
|
160
|
-
*
|
|
161
|
-
* @public
|
|
162
|
-
*/
|
|
163
|
-
// Preserve '/' too.
|
|
164
26
|
export function sanitizeHierarchicalPath(text) {
|
|
165
27
|
return text
|
|
166
28
|
.toLowerCase()
|
|
@@ -173,156 +35,30 @@ export function sanitizeHierarchicalPath(text) {
|
|
|
173
35
|
.replaceAll(/\)/g, '29')
|
|
174
36
|
.replaceAll(/[^a-zA-Z0-9/-]/g, '-');
|
|
175
37
|
}
|
|
176
|
-
/**
|
|
177
|
-
* Sanitises anonymous namespace identifiers for better readability.
|
|
178
|
-
*
|
|
179
|
-
* @remarks
|
|
180
|
-
* Simplifies the representation of anonymous namespaces by removing
|
|
181
|
-
* redundant text whilst preserving the essential identifying information.
|
|
182
|
-
* This transformation improves the readability of documentation by reducing
|
|
183
|
-
* verbose namespace representations commonly generated by Doxygen.
|
|
184
|
-
*
|
|
185
|
-
* @param text - The namespace identifier to sanitise.
|
|
186
|
-
* @returns A cleaner namespace identifier.
|
|
187
|
-
*
|
|
188
|
-
* @public
|
|
189
|
-
*/
|
|
190
38
|
export function sanitizeAnonymousNamespace(text) {
|
|
191
39
|
return text.replaceAll(/anonymous_namespace\{/g, 'anonymous{');
|
|
192
40
|
}
|
|
193
|
-
/**
|
|
194
|
-
* Flattens a hierarchical path by replacing separators with hyphens.
|
|
195
|
-
*
|
|
196
|
-
* @remarks
|
|
197
|
-
* Converts forward slashes to hyphens to create a flat string suitable
|
|
198
|
-
* for use in contexts where hierarchical separators are not appropriate.
|
|
199
|
-
* This is particularly useful for creating file names or identifiers
|
|
200
|
-
* that must not contain path separators whilst preserving readability.
|
|
201
|
-
*
|
|
202
|
-
* @param text - The hierarchical path to flatten.
|
|
203
|
-
* @returns A flattened path string with hyphens instead of slashes.
|
|
204
|
-
*
|
|
205
|
-
* @public
|
|
206
|
-
*/
|
|
207
41
|
export function flattenPath(text) {
|
|
208
42
|
return text.replaceAll('/', '-');
|
|
209
43
|
}
|
|
210
|
-
/**
|
|
211
|
-
* Removes hexadecimal anchor suffixes from reference identifiers.
|
|
212
|
-
*
|
|
213
|
-
* @remarks
|
|
214
|
-
* Strips trailing hexadecimal anchor patterns from Doxygen reference
|
|
215
|
-
* identifiers to obtain the base reference without anchor information.
|
|
216
|
-
* This is essential for creating clean reference links whilst preserving
|
|
217
|
-
* the ability to extract anchor information separately when needed.
|
|
218
|
-
*
|
|
219
|
-
* @param refid - The reference identifier to process.
|
|
220
|
-
* @returns The reference identifier with hexadecimal anchor removed.
|
|
221
|
-
*
|
|
222
|
-
* @public
|
|
223
|
-
*/
|
|
224
44
|
export function stripPermalinkHexAnchor(refid) {
|
|
225
45
|
return refid.replace(/_1[0-9a-fg]*$/, '');
|
|
226
46
|
}
|
|
227
|
-
/**
|
|
228
|
-
* Removes text anchor suffixes from reference identifiers.
|
|
229
|
-
*
|
|
230
|
-
* @remarks
|
|
231
|
-
* Strips trailing text-based anchor patterns from Doxygen reference
|
|
232
|
-
* identifiers to obtain the base reference without anchor information.
|
|
233
|
-
* This complements the hexadecimal anchor removal function by handling
|
|
234
|
-
* text-based anchor patterns that may appear in certain Doxygen outputs.
|
|
235
|
-
*
|
|
236
|
-
* @param refid - The reference identifier to process.
|
|
237
|
-
* @returns The reference identifier with text anchor removed.
|
|
238
|
-
*
|
|
239
|
-
* @public
|
|
240
|
-
*/
|
|
241
47
|
export function stripPermalinkTextAnchor(refid) {
|
|
242
48
|
return refid.replace(/_1_[0-9a-z]*$/, '');
|
|
243
49
|
}
|
|
244
|
-
/**
|
|
245
|
-
* Removes leading newline characters from text.
|
|
246
|
-
*
|
|
247
|
-
* @remarks
|
|
248
|
-
* Strips newline characters from the beginning of a text string whilst
|
|
249
|
-
* preserving the remainder of the content. This function is useful for
|
|
250
|
-
* cleaning up text content that may have unwanted leading whitespace
|
|
251
|
-
* from XML parsing or template processing operations.
|
|
252
|
-
*
|
|
253
|
-
* @param text - The input text to process.
|
|
254
|
-
* @returns The text with leading newlines removed.
|
|
255
|
-
*
|
|
256
|
-
* @public
|
|
257
|
-
*/
|
|
258
50
|
export function stripLeadingNewLines(text) {
|
|
259
51
|
return text.replace(/^[\r\n]+/, '');
|
|
260
52
|
}
|
|
261
|
-
/**
|
|
262
|
-
* Removes trailing whitespace and newline characters from text.
|
|
263
|
-
*
|
|
264
|
-
* @remarks
|
|
265
|
-
* Strips trailing spaces, carriage returns, and newlines from the end
|
|
266
|
-
* of a text string whilst preserving the main content. This function
|
|
267
|
-
* ensures clean text output by removing formatting artefacts that may
|
|
268
|
-
* interfere with proper Markdown rendering or display.
|
|
269
|
-
*
|
|
270
|
-
* @param text - The input text to process.
|
|
271
|
-
* @returns The text with trailing whitespace and newlines removed.
|
|
272
|
-
*
|
|
273
|
-
* @public
|
|
274
|
-
*/
|
|
275
53
|
export function stripTrailingNewLines(text) {
|
|
276
54
|
return text.replace(/[ \r\n]+$/, '');
|
|
277
55
|
}
|
|
278
|
-
/**
|
|
279
|
-
* Removes both leading and trailing newline characters from text.
|
|
280
|
-
*
|
|
281
|
-
* @remarks
|
|
282
|
-
* Combines the functionality of stripping both leading and trailing
|
|
283
|
-
* newlines to clean up text content for processing. This comprehensive
|
|
284
|
-
* cleaning function is particularly useful for normalising content
|
|
285
|
-
* extracted from various sources that may have inconsistent whitespace.
|
|
286
|
-
*
|
|
287
|
-
* @param text - The input text to process.
|
|
288
|
-
* @returns The text with leading and trailing newlines removed.
|
|
289
|
-
*
|
|
290
|
-
* @public
|
|
291
|
-
*/
|
|
292
56
|
export function stripLeadingAndTrailingNewLines(text) {
|
|
293
57
|
return text.replace(/^[\r\n]+/, '').replace(/[ \r\n]+$/, '');
|
|
294
58
|
}
|
|
295
|
-
/**
|
|
296
|
-
* Extracts the anchor portion from a reference identifier.
|
|
297
|
-
*
|
|
298
|
-
* @remarks
|
|
299
|
-
* Retrieves the anchor part of a Doxygen reference identifier by removing
|
|
300
|
-
* the base reference portion and returning only the anchor suffix. This
|
|
301
|
-
* function is essential for creating proper internal links within
|
|
302
|
-
* documentation pages where anchor-based navigation is required.
|
|
303
|
-
*
|
|
304
|
-
* @param refid - The reference identifier to process.
|
|
305
|
-
* @returns The anchor portion of the reference identifier.
|
|
306
|
-
*
|
|
307
|
-
* @public
|
|
308
|
-
*/
|
|
309
59
|
export function getPermalinkAnchor(refid) {
|
|
310
60
|
return refid.replace(/^.*_1/, '');
|
|
311
61
|
}
|
|
312
|
-
/**
|
|
313
|
-
* Checks whether a folder exists at the specified path.
|
|
314
|
-
*
|
|
315
|
-
* @remarks
|
|
316
|
-
* Asynchronously verifies the existence of a directory at the given path
|
|
317
|
-
* and confirms that it is indeed a directory rather than a file. This
|
|
318
|
-
* function provides safe filesystem access with proper error handling
|
|
319
|
-
* for cases where the path does not exist or is inaccessible.
|
|
320
|
-
*
|
|
321
|
-
* @param folderPath - The path to check for folder existence.
|
|
322
|
-
* @returns A promise that resolves to true if the folder exists.
|
|
323
|
-
*
|
|
324
|
-
* @public
|
|
325
|
-
*/
|
|
326
62
|
export async function folderExists(folderPath) {
|
|
327
63
|
try {
|
|
328
64
|
const stat = await fs.stat(folderPath);
|
|
@@ -332,23 +68,6 @@ export async function folderExists(folderPath) {
|
|
|
332
68
|
return false;
|
|
333
69
|
}
|
|
334
70
|
}
|
|
335
|
-
/**
|
|
336
|
-
* Joins an array of strings with different delimiters for the final item.
|
|
337
|
-
*
|
|
338
|
-
* @remarks
|
|
339
|
-
* Concatenates array elements using a standard delimiter between most items
|
|
340
|
-
* and a special delimiter before the last item, useful for creating
|
|
341
|
-
* grammatically correct lists (e.g., "A, B, and C"). This function ensures
|
|
342
|
-
* proper English grammar in generated text whilst handling edge cases
|
|
343
|
-
* such as empty arrays and single-item arrays appropriately.
|
|
344
|
-
*
|
|
345
|
-
* @param arr - The array of strings to join.
|
|
346
|
-
* @param delimiter - The standard delimiter between items.
|
|
347
|
-
* @param lastDelimiter - The special delimiter before the last item.
|
|
348
|
-
* @returns The joined string with appropriate delimiters.
|
|
349
|
-
*
|
|
350
|
-
* @public
|
|
351
|
-
*/
|
|
352
71
|
export function joinWithLast(arr, delimiter, lastDelimiter) {
|
|
353
72
|
if (arr.length === 0)
|
|
354
73
|
return '';
|
|
@@ -356,20 +75,6 @@ export function joinWithLast(arr, delimiter, lastDelimiter) {
|
|
|
356
75
|
return arr[0];
|
|
357
76
|
return arr.slice(0, -1).join(delimiter) + lastDelimiter + arr[arr.length - 1];
|
|
358
77
|
}
|
|
359
|
-
/**
|
|
360
|
-
* Validates whether a string represents a valid URL.
|
|
361
|
-
*
|
|
362
|
-
* @remarks
|
|
363
|
-
* Attempts to construct a URL object from the input string to determine
|
|
364
|
-
* if it represents a valid, well-formed URL. This validation method
|
|
365
|
-
* leverages the native URL constructor's built-in validation capabilities
|
|
366
|
-
* to provide robust URL checking without implementing custom parsing logic.
|
|
367
|
-
*
|
|
368
|
-
* @param str - The string to validate as a URL.
|
|
369
|
-
* @returns True if the string is a valid URL, false otherwise.
|
|
370
|
-
*
|
|
371
|
-
* @public
|
|
372
|
-
*/
|
|
373
78
|
export function isUrl(str) {
|
|
374
79
|
try {
|
|
375
80
|
new URL(str);
|
|
@@ -379,5 +84,4 @@ export function isUrl(str) {
|
|
|
379
84
|
return false;
|
|
380
85
|
}
|
|
381
86
|
}
|
|
382
|
-
// ----------------------------------------------------------------------------
|
|
383
87
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/docusaurus/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/docusaurus/utils.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAkBtC,MAAM,UAAU,UAAU,CAAC,IAAU;IAEnC,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,CAAA;IAElC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;IAC7D,MAAM,GAA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,CAAC,KAAa;IAC9C,OAAO,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;AACnC,CAAC;AAgBD,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,UAAkB;IACnD,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QACtC,OAAO,IAAI,CAAC,WAAW,EAAE,CAAA;IAC3B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAA;IACd,CAAC;AACH,CAAC;AAmBD,MAAM,UAAU,YAAY,CAC1B,GAAa,EACb,SAAiB,EACjB,aAAqB;IAErB,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAA;IAC/B,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,GAAG,CAAC,CAAC,CAAC,CAAA;IACnC,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,aAAa,GAAG,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;AAC/E,CAAC;AAgBD,MAAM,UAAU,KAAK,CAAC,GAAW;IAC/B,IAAI,CAAC;QACH,IAAI,GAAG,CAAC,GAAG,CAAC,CAAA;QACZ,OAAO,IAAI,CAAA;IACb,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAA;IACd,CAAC;AACH,CAAC"}
|
|
@@ -4,169 +4,32 @@ import { CollectionBase } from './collection-base.js';
|
|
|
4
4
|
import type { SidebarCategory, FrontMatter, NavbarItem } from '../types.js';
|
|
5
5
|
import type { BaseCompoundRefDataModel, DerivedCompoundRefDataModel } from '../../doxygen/data-model/compounds/compoundreftype-dm.js';
|
|
6
6
|
import type { TemplateParamListDataModel } from '../../doxygen/data-model/compounds/templateparamlisttype-dm.js';
|
|
7
|
-
/**
|
|
8
|
-
* Manages the collection of class, struct, and union documentation.
|
|
9
|
-
*
|
|
10
|
-
* @remarks
|
|
11
|
-
* Handles the organisation and generation of class-type compound
|
|
12
|
-
* documentation, including hierarchy creation, sidebar generation,
|
|
13
|
-
* and index file creation. Supports inheritance relationships and
|
|
14
|
-
* alphabetical organisation.
|
|
15
|
-
*
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
7
|
export declare class Classes extends CollectionBase {
|
|
19
|
-
/**
|
|
20
|
-
* Array of top-level classes without parent classes.
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
* Contains classes that are not derived from other documented classes,
|
|
24
|
-
* used for organising hierarchical displays and inheritance trees.
|
|
25
|
-
*/
|
|
26
8
|
topLevelClasses: Class[];
|
|
27
|
-
/**
|
|
28
|
-
* Adds a class compound to the collection.
|
|
29
|
-
*
|
|
30
|
-
* @remarks
|
|
31
|
-
* Creates a new Class instance from the compound definition and registers
|
|
32
|
-
* it in the collection for later processing and hierarchy creation.
|
|
33
|
-
*
|
|
34
|
-
* @param compoundDef - The compound definition for the class
|
|
35
|
-
* @returns The created Class instance
|
|
36
|
-
*/
|
|
37
9
|
addChild(compoundDef: CompoundDefDataModel): CompoundBase;
|
|
38
|
-
/**
|
|
39
|
-
* Creates hierarchical relationships between class compounds.
|
|
40
|
-
*
|
|
41
|
-
* @remarks
|
|
42
|
-
* Establishes parent-child relationships based on inheritance data,
|
|
43
|
-
* building the class hierarchy tree and identifying top-level classes
|
|
44
|
-
* that have no documented parent classes.
|
|
45
|
-
*/
|
|
46
10
|
createCompoundsHierarchies(): void;
|
|
47
11
|
addSidebarItems(sidebarCategory: SidebarCategory): void;
|
|
48
|
-
/**
|
|
49
|
-
* Creates sidebar item for class hierarchy recursively.
|
|
50
|
-
*
|
|
51
|
-
* @remarks
|
|
52
|
-
* Generates hierarchical sidebar structures for class inheritance
|
|
53
|
-
* trees, creating category items for classes with children and
|
|
54
|
-
* document items for leaf classes. Handles sidebar label and ID
|
|
55
|
-
* generation with proper CSS classes.
|
|
56
|
-
*
|
|
57
|
-
* @param classs - The class to create sidebar item for
|
|
58
|
-
* @returns The sidebar item or undefined if class lacks required data
|
|
59
|
-
*/
|
|
60
12
|
private createSidebarItemRecursively;
|
|
61
13
|
createNavbarItems(): NavbarItem[];
|
|
62
14
|
generateIndexDotMdFile(): Promise<void>;
|
|
63
|
-
/**
|
|
64
|
-
* Generates hierarchical index content for class documentation recursively.
|
|
65
|
-
*
|
|
66
|
-
* @remarks
|
|
67
|
-
* Creates HTML tree table rows for class hierarchies with proper
|
|
68
|
-
* indentation, icons, and descriptions. Processes inheritance
|
|
69
|
-
* relationships and generates nested table structures for parent-child
|
|
70
|
-
* class relationships.
|
|
71
|
-
*
|
|
72
|
-
* @param classs - The class to generate index content for
|
|
73
|
-
* @param depth - The current depth level in the hierarchy (1-based)
|
|
74
|
-
* @returns Array of HTML strings representing the tree table rows
|
|
75
|
-
*/
|
|
76
15
|
private generateIndexMdFileRecursively;
|
|
77
16
|
generatePerInitialsIndexMdFiles(): Promise<void>;
|
|
78
17
|
}
|
|
79
|
-
/**
|
|
80
|
-
* Represents a single class, struct, or union compound for documentation.
|
|
81
|
-
*
|
|
82
|
-
* @remarks
|
|
83
|
-
* Manages individual class compound data including inheritance relationships,
|
|
84
|
-
* template parameters, member organisation, and documentation generation.
|
|
85
|
-
* Supports multiple inheritance, template specialisation, and hierarchical
|
|
86
|
-
* naming conventions for comprehensive class documentation.
|
|
87
|
-
*
|
|
88
|
-
* @public
|
|
89
|
-
*/
|
|
90
18
|
export declare class Class extends CompoundBase {
|
|
91
|
-
/** Set of base class IDs for inheritance tracking (multiple inheritance). */
|
|
92
19
|
baseClassIds: Set<string>;
|
|
93
|
-
/** Array of resolved base class instances. */
|
|
94
20
|
baseClasses: Class[];
|
|
95
|
-
/** Fully qualified class name including namespace hierarchy. */
|
|
96
21
|
fullyQualifiedName: string;
|
|
97
|
-
/** Simple class name without namespace qualifiers. */
|
|
98
22
|
unqualifiedName: string;
|
|
99
|
-
/** Template parameter specification string. */
|
|
100
23
|
templateParameters: string;
|
|
101
|
-
/** Complete class name with rendered template parameters. */
|
|
102
24
|
classFullName: string;
|
|
103
|
-
/** Rendered template declaration for display purposes. */
|
|
104
25
|
template: string | undefined;
|
|
105
|
-
/** Direct reference to base compound data model objects. */
|
|
106
26
|
baseCompoundRefs: BaseCompoundRefDataModel[] | undefined;
|
|
107
|
-
/** Direct reference to derived compound data model objects. */
|
|
108
27
|
derivedCompoundRefs: DerivedCompoundRefDataModel[] | undefined;
|
|
109
|
-
/** Template parameter list from the compound definition. */
|
|
110
28
|
templateParamList: TemplateParamListDataModel | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* Creates a new Class instance from compound definition data.
|
|
113
|
-
*
|
|
114
|
-
* @remarks
|
|
115
|
-
* Initialises class metadata including inheritance relationships,
|
|
116
|
-
* template parameters, naming conventions, and URL structures.
|
|
117
|
-
* Processes fully qualified names, sidebar labels, and creates
|
|
118
|
-
* hierarchical path structures for documentation generation.
|
|
119
|
-
*
|
|
120
|
-
* @param collection - The parent Classes collection managing this class
|
|
121
|
-
* @param compoundDef - The Doxygen compound definition containing class data
|
|
122
|
-
*/
|
|
123
29
|
constructor(collection: Classes, compoundDef: CompoundDefDataModel);
|
|
124
|
-
/**
|
|
125
|
-
* Performs late-stage initialisation after all classes are loaded.
|
|
126
|
-
*
|
|
127
|
-
* @remarks
|
|
128
|
-
* Completes class setup by rendering template parameters to HTML,
|
|
129
|
-
* building full class names with template information, and storing
|
|
130
|
-
* references to compound definition objects for inheritance processing.
|
|
131
|
-
* Called after all compounds are registered.
|
|
132
|
-
*/
|
|
133
30
|
initializeLate(): void;
|
|
134
|
-
/**
|
|
135
|
-
* Determines whether the class has any content to display.
|
|
136
|
-
*
|
|
137
|
-
* @remarks
|
|
138
|
-
* Checks for the presence of child classes, inner compounds,
|
|
139
|
-
* member sections, include directives, or base class content
|
|
140
|
-
* to determine if the class documentation page should be
|
|
141
|
-
* generated and displayed.
|
|
142
|
-
*
|
|
143
|
-
* @returns True if the class has displayable content, false otherwise
|
|
144
|
-
*/
|
|
145
31
|
hasAnyContent(): boolean;
|
|
146
|
-
/**
|
|
147
|
-
* Renders the complete class documentation to markdown lines.
|
|
148
|
-
*
|
|
149
|
-
* @remarks
|
|
150
|
-
* Generates the full documentation page including class declaration,
|
|
151
|
-
* inheritance relationships, member indices, detailed descriptions,
|
|
152
|
-
* and location information. Handles base and derived class listings
|
|
153
|
-
* with proper HTML table formatting.
|
|
154
|
-
*
|
|
155
|
-
* @param frontMatter - The frontmatter configuration for the page
|
|
156
|
-
* @returns Array of markdown strings representing the complete documentation
|
|
157
|
-
*/
|
|
158
32
|
renderToLines(frontMatter: FrontMatter): string[];
|
|
159
|
-
/**
|
|
160
|
-
* Renders the class as an index entry for member listings.
|
|
161
|
-
*
|
|
162
|
-
* @remarks
|
|
163
|
-
* Creates HTML table rows suitable for inclusion in member indices,
|
|
164
|
-
* with links to the class documentation page and brief descriptions.
|
|
165
|
-
* Generates formatted entries with appropriate CSS classes and
|
|
166
|
-
* structure for index displays.
|
|
167
|
-
*
|
|
168
|
-
* @returns Array of HTML strings representing the index entry
|
|
169
|
-
*/
|
|
170
33
|
renderIndexToLines(): string[];
|
|
171
34
|
}
|
|
172
35
|
//# sourceMappingURL=classes-vm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classes-vm.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/view-model/classes-vm.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAA;AAChG,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EACV,eAAe,EAIf,WAAW,EACX,UAAU,EACX,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM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