@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
|
@@ -0,0 +1,376 @@
|
|
|
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 { Class } from './classes-vm.js'
|
|
15
|
+
import { EnumValue, Member } from './members-vm.js'
|
|
16
|
+
import { Namespace } from './namespaces-vm.js'
|
|
17
|
+
import type { File } from './files-and-folders-vm.js'
|
|
18
|
+
import { sanitizeAnonymousNamespace } from '../utils.js'
|
|
19
|
+
import { Concept } from './concepts-vm.js'
|
|
20
|
+
|
|
21
|
+
// ----------------------------------------------------------------------------
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Base class for tree entry objects used in hierarchical navigation.
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* Provides common functionality for entries that appear in tree-like
|
|
28
|
+
* navigation structures, including index pages and hierarchical listings.
|
|
29
|
+
* Handles name formatting, link generation, and sorting criteria.
|
|
30
|
+
*
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export class TreeEntryBase {
|
|
34
|
+
/**
|
|
35
|
+
* The short name shown in the left part of index lines.
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* Brief display name used for compact listings and navigation
|
|
39
|
+
* structures where space is limited.
|
|
40
|
+
*/
|
|
41
|
+
name = '???'
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* The full name used internally as the secondary sort criteria.
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* Complete qualified name used for precise sorting when multiple
|
|
48
|
+
* entries have the same short name.
|
|
49
|
+
*/
|
|
50
|
+
longName = '???'
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* The internal identifier used to compute the permalink.
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* Unique identifier that corresponds to the Doxygen compound or
|
|
57
|
+
* member ID for generating navigation links.
|
|
58
|
+
*/
|
|
59
|
+
id: string
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The compound or member kind.
|
|
63
|
+
*
|
|
64
|
+
* @remarks
|
|
65
|
+
* Indicates the type of documentation element this entry represents.
|
|
66
|
+
* Examples include: 'class', 'struct', 'union', 'namespace', 'function',
|
|
67
|
+
* 'variable', 'typedef', 'enum', 'enumvalue'.
|
|
68
|
+
*/
|
|
69
|
+
kind = '???'
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Kind label displayed outside the link.
|
|
73
|
+
*
|
|
74
|
+
* @remarks
|
|
75
|
+
* Human-readable type description shown in index listings to help
|
|
76
|
+
* users identify the nature of the linked element.
|
|
77
|
+
*/
|
|
78
|
+
linkKind = ''
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* The name of the linked target object.
|
|
82
|
+
*
|
|
83
|
+
* @remarks
|
|
84
|
+
* Display name used as the clickable text in navigation links,
|
|
85
|
+
* typically formatted for user presentation.
|
|
86
|
+
*/
|
|
87
|
+
linkName = '???'
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The short name of the linked target object for comparison with name.
|
|
91
|
+
*
|
|
92
|
+
* @remarks
|
|
93
|
+
* Simplified name used for determining when the entry name differs
|
|
94
|
+
* from the link target name, enabling conditional display logic.
|
|
95
|
+
*/
|
|
96
|
+
comparableLinkName = ''
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* The URL of the target object, including the anchor.
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* Complete permalink to the documentation page for this entry,
|
|
103
|
+
* including any necessary anchor fragments for precise navigation.
|
|
104
|
+
*/
|
|
105
|
+
permalink?: string | undefined
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* The URL of the parent group compound (class, namespace, or file).
|
|
109
|
+
*
|
|
110
|
+
* @remarks
|
|
111
|
+
* Permalink to the containing compound page, used in index tables
|
|
112
|
+
* to link the entry back to the group in which it is defined.
|
|
113
|
+
*/
|
|
114
|
+
grouptPermalink?: string | undefined
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Creates a new tree entry from a compound or member object.
|
|
118
|
+
*
|
|
119
|
+
* @remarks
|
|
120
|
+
* Initialises the tree entry by extracting relevant information from
|
|
121
|
+
* the provided documentation object, setting up names, kinds, and
|
|
122
|
+
* navigation properties based on the object type.
|
|
123
|
+
*
|
|
124
|
+
* @param entry - The documentation object to create an entry for
|
|
125
|
+
*/
|
|
126
|
+
constructor(entry: Class | Namespace | Concept | Member | EnumValue) {
|
|
127
|
+
this.id = entry.id
|
|
128
|
+
|
|
129
|
+
if (entry instanceof Class) {
|
|
130
|
+
const { collection, treeEntryName, fullyQualifiedName, kind } = entry
|
|
131
|
+
|
|
132
|
+
// this.name = entry.unqualifiedName
|
|
133
|
+
this.name = collection.workspace.renderString(treeEntryName, 'html')
|
|
134
|
+
this.longName = fullyQualifiedName
|
|
135
|
+
// console.log(this.name, ' | ', entry.indexName,
|
|
136
|
+
// entry.unqualifiedName, entry.fullyQualifiedName, entry.compoundName,
|
|
137
|
+
// entry.classFullName)
|
|
138
|
+
|
|
139
|
+
this.kind = kind // class, struct, union
|
|
140
|
+
|
|
141
|
+
this.linkKind = kind
|
|
142
|
+
this.linkName = fullyQualifiedName
|
|
143
|
+
|
|
144
|
+
this.permalink = collection.workspace.getPermalink({
|
|
145
|
+
refid: this.id,
|
|
146
|
+
kindref: 'compound',
|
|
147
|
+
})
|
|
148
|
+
} else if (entry instanceof Namespace) {
|
|
149
|
+
const { treeEntryName, unqualifiedName, kind, collection } = entry
|
|
150
|
+
|
|
151
|
+
this.name = treeEntryName
|
|
152
|
+
this.longName = unqualifiedName
|
|
153
|
+
|
|
154
|
+
this.kind = kind // namespace
|
|
155
|
+
|
|
156
|
+
this.linkKind = kind
|
|
157
|
+
this.linkName = treeEntryName
|
|
158
|
+
this.permalink = collection.workspace.getPermalink({
|
|
159
|
+
refid: this.id,
|
|
160
|
+
kindref: 'compound',
|
|
161
|
+
})
|
|
162
|
+
} else if (entry instanceof Concept) {
|
|
163
|
+
const { treeEntryName, unqualifiedName, kind, collection } = entry
|
|
164
|
+
this.name = treeEntryName
|
|
165
|
+
this.longName = unqualifiedName
|
|
166
|
+
|
|
167
|
+
this.kind = kind // concept
|
|
168
|
+
|
|
169
|
+
this.linkKind = kind
|
|
170
|
+
this.linkName = treeEntryName
|
|
171
|
+
this.permalink = collection.workspace.getPermalink({
|
|
172
|
+
refid: this.id,
|
|
173
|
+
kindref: 'compound',
|
|
174
|
+
})
|
|
175
|
+
} else if (entry instanceof Member) {
|
|
176
|
+
const { name, qualifiedName, kind, section } = entry
|
|
177
|
+
this.name = name
|
|
178
|
+
this.longName = qualifiedName ?? '???'
|
|
179
|
+
|
|
180
|
+
this.kind = kind
|
|
181
|
+
|
|
182
|
+
this.permalink = section.compound.collection.workspace.getPermalink({
|
|
183
|
+
refid: this.id,
|
|
184
|
+
kindref: 'member',
|
|
185
|
+
})
|
|
186
|
+
if (this.kind === 'function') {
|
|
187
|
+
this.name += '()'
|
|
188
|
+
}
|
|
189
|
+
} else if (entry instanceof EnumValue) {
|
|
190
|
+
const { name, member } = entry
|
|
191
|
+
this.name = name
|
|
192
|
+
this.longName = name
|
|
193
|
+
|
|
194
|
+
this.kind = 'enumvalue'
|
|
195
|
+
|
|
196
|
+
this.permalink =
|
|
197
|
+
member.section.compound.collection.workspace.getPermalink({
|
|
198
|
+
refid: this.id,
|
|
199
|
+
kindref: 'member',
|
|
200
|
+
})
|
|
201
|
+
} else {
|
|
202
|
+
this.id = '???'
|
|
203
|
+
// Fallback for unknown object types.
|
|
204
|
+
console.error(
|
|
205
|
+
'object type',
|
|
206
|
+
typeof entry,
|
|
207
|
+
'not supported in',
|
|
208
|
+
this.constructor.name
|
|
209
|
+
)
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Tree entry specifically for class-type compounds in hierarchical views.
|
|
216
|
+
*
|
|
217
|
+
* @remarks
|
|
218
|
+
* Extends the base tree entry functionality with class-specific formatting
|
|
219
|
+
* and link generation. Handles proper display names and permalinks for
|
|
220
|
+
* classes, structs, and unions in navigation structures.
|
|
221
|
+
*
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
export class ClassTreeEntry extends TreeEntryBase {
|
|
225
|
+
/**
|
|
226
|
+
* Creates a new class tree entry.
|
|
227
|
+
*
|
|
228
|
+
* @remarks
|
|
229
|
+
* Initialises the tree entry with class-specific information including
|
|
230
|
+
* the full class name and appropriate link formatting for display
|
|
231
|
+
* in hierarchical navigation structures.
|
|
232
|
+
*
|
|
233
|
+
* @param entry - The source entry object
|
|
234
|
+
* @param clazz - The class object providing context
|
|
235
|
+
*/
|
|
236
|
+
constructor(entry: Class | Member | EnumValue, clazz: Class) {
|
|
237
|
+
super(entry)
|
|
238
|
+
|
|
239
|
+
const { kind, classFullName, collection, treeEntryName } = clazz
|
|
240
|
+
this.linkKind = kind
|
|
241
|
+
this.linkName = classFullName
|
|
242
|
+
this.comparableLinkName = collection.workspace.renderString(
|
|
243
|
+
treeEntryName,
|
|
244
|
+
'html'
|
|
245
|
+
)
|
|
246
|
+
|
|
247
|
+
this.grouptPermalink = collection.workspace.getPermalink({
|
|
248
|
+
refid: clazz.id,
|
|
249
|
+
kindref: 'compound',
|
|
250
|
+
})
|
|
251
|
+
// console.log(this)
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Tree entry specifically for namespace compounds in hierarchical views.
|
|
257
|
+
*
|
|
258
|
+
* @remarks
|
|
259
|
+
* Extends the base tree entry functionality with namespace-specific
|
|
260
|
+
* formatting and link generation. Handles anonymous namespace sanitisation
|
|
261
|
+
* and proper display in navigation structures.
|
|
262
|
+
*
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export class NamespaceTreeEntry extends TreeEntryBase {
|
|
266
|
+
/**
|
|
267
|
+
* Creates a new namespace tree entry.
|
|
268
|
+
*
|
|
269
|
+
* @remarks
|
|
270
|
+
* Initialises the tree entry with namespace-specific information,
|
|
271
|
+
* including handling of anonymous namespaces and proper link
|
|
272
|
+
* formatting for hierarchical display.
|
|
273
|
+
*
|
|
274
|
+
* @param entry - The source entry object
|
|
275
|
+
* @param namespace - The namespace object providing context
|
|
276
|
+
*/
|
|
277
|
+
constructor(
|
|
278
|
+
entry: Namespace | Concept | Class | Member | EnumValue,
|
|
279
|
+
namespace: Namespace
|
|
280
|
+
) {
|
|
281
|
+
super(entry)
|
|
282
|
+
|
|
283
|
+
this.linkKind = 'namespace'
|
|
284
|
+
this.linkName = sanitizeAnonymousNamespace(namespace.compoundName)
|
|
285
|
+
const { treeEntryName } = namespace
|
|
286
|
+
this.comparableLinkName = treeEntryName
|
|
287
|
+
|
|
288
|
+
this.grouptPermalink = namespace.collection.workspace.getPermalink({
|
|
289
|
+
refid: namespace.id,
|
|
290
|
+
kindref: 'compound',
|
|
291
|
+
})
|
|
292
|
+
// console.log(this)
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Tree entry specifically for file compounds in hierarchical views.
|
|
298
|
+
*
|
|
299
|
+
* @remarks
|
|
300
|
+
* Extends the base tree entry functionality with file-specific formatting
|
|
301
|
+
* and link generation. Uses relative file paths for display and navigation
|
|
302
|
+
* in file-based documentation structures.
|
|
303
|
+
*
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
export class FileTreeEntry extends TreeEntryBase {
|
|
307
|
+
/**
|
|
308
|
+
* Creates a new file tree entry.
|
|
309
|
+
*
|
|
310
|
+
* @remarks
|
|
311
|
+
* Initialises the tree entry with file-specific information using
|
|
312
|
+
* the relative file path for display purposes in navigation structures.
|
|
313
|
+
*
|
|
314
|
+
* @param entry - The source entry object
|
|
315
|
+
* @param file - The file object providing context
|
|
316
|
+
*/
|
|
317
|
+
constructor(
|
|
318
|
+
entry: Namespace | Concept | Class | Member | EnumValue,
|
|
319
|
+
file: File
|
|
320
|
+
) {
|
|
321
|
+
super(entry)
|
|
322
|
+
|
|
323
|
+
this.linkKind = 'file'
|
|
324
|
+
const { relativePath } = file
|
|
325
|
+
this.linkName = relativePath
|
|
326
|
+
|
|
327
|
+
this.grouptPermalink = file.collection.workspace.getPermalink({
|
|
328
|
+
refid: file.id,
|
|
329
|
+
kindref: 'compound',
|
|
330
|
+
})
|
|
331
|
+
|
|
332
|
+
// console.log(this)
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Tree entry specifically for C++20 concept compounds in index views.
|
|
338
|
+
*
|
|
339
|
+
* @remarks
|
|
340
|
+
* Extends the base tree entry functionality with concept-specific
|
|
341
|
+
* link generation, associating the entry with its parent namespace
|
|
342
|
+
* (when present) or marking it as a top-level entry.
|
|
343
|
+
*
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
export class ConceptEntry extends TreeEntryBase {
|
|
347
|
+
/**
|
|
348
|
+
* Creates a new concept tree entry.
|
|
349
|
+
*
|
|
350
|
+
* @remarks
|
|
351
|
+
* Initialises the tree entry with concept-specific information using
|
|
352
|
+
* the relative file path for display purposes in navigation structures.
|
|
353
|
+
*
|
|
354
|
+
* @param entry - The source entry object
|
|
355
|
+
* @param file - The file object providing context
|
|
356
|
+
*/
|
|
357
|
+
constructor(entry: Concept) {
|
|
358
|
+
super(entry)
|
|
359
|
+
|
|
360
|
+
if (entry.parent !== undefined) {
|
|
361
|
+
this.linkKind = 'namespace'
|
|
362
|
+
this.linkName = entry.parent.compoundName
|
|
363
|
+
this.grouptPermalink = entry.collection.workspace.getPermalink({
|
|
364
|
+
refid: entry.parent.id,
|
|
365
|
+
kindref: 'compound',
|
|
366
|
+
})
|
|
367
|
+
} else {
|
|
368
|
+
this.linkKind = 'top'
|
|
369
|
+
this.linkName = 'namespace'
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// console.log(this)
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// ----------------------------------------------------------------------------
|