@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.
- package/LICENSE +1 -1
- package/README.md +4 -3
- package/bin/doxygen2docusaurus.js +1 -1
- package/dist/cli/main.d.ts +0 -8
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +1 -29
- package/dist/cli/main.js.map +1 -1
- package/dist/docusaurus/cli-options.d.ts +4 -65
- package/dist/docusaurus/cli-options.d.ts.map +1 -1
- package/dist/docusaurus/cli-options.js +16 -91
- package/dist/docusaurus/cli-options.js.map +1 -1
- package/dist/docusaurus/generator.d.ts +7 -4
- package/dist/docusaurus/generator.d.ts.map +1 -1
- package/dist/docusaurus/generator.js +50 -140
- package/dist/docusaurus/generator.js.map +1 -1
- package/dist/docusaurus/renderers/descriptiontype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/descriptiontype.js +11 -138
- package/dist/docusaurus/renderers/descriptiontype.js.map +1 -1
- package/dist/docusaurus/renderers/docinternalstype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docinternalstype.js +0 -24
- package/dist/docusaurus/renderers/docinternalstype.js.map +1 -1
- package/dist/docusaurus/renderers/doclisttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doclisttype.js +0 -22
- package/dist/docusaurus/renderers/doclisttype.js.map +1 -1
- package/dist/docusaurus/renderers/doctabletype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doctabletype.js +1 -25
- package/dist/docusaurus/renderers/doctabletype.js.map +1 -1
- package/dist/docusaurus/renderers/doctitletype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doctitletype.js +0 -20
- package/dist/docusaurus/renderers/doctitletype.js.map +1 -1
- package/dist/docusaurus/renderers/docvariablelisttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docvariablelisttype.js +1 -25
- package/dist/docusaurus/renderers/docvariablelisttype.js.map +1 -1
- package/dist/docusaurus/renderers/docxrefsecttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docxrefsecttype.js +0 -16
- package/dist/docusaurus/renderers/docxrefsecttype.js.map +1 -1
- package/dist/docusaurus/renderers/element-renderer-base.d.ts.map +1 -1
- package/dist/docusaurus/renderers/element-renderer-base.js +0 -12
- package/dist/docusaurus/renderers/element-renderer-base.js.map +1 -1
- package/dist/docusaurus/renderers/inctype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/inctype.js +0 -18
- package/dist/docusaurus/renderers/inctype.js.map +1 -1
- package/dist/docusaurus/renderers/linkedtexttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/linkedtexttype.js +0 -23
- package/dist/docusaurus/renderers/linkedtexttype.js.map +1 -1
- package/dist/docusaurus/renderers/listingtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/listingtype.js +1 -24
- package/dist/docusaurus/renderers/listingtype.js.map +1 -1
- package/dist/docusaurus/renderers/paramtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/paramtype.js +2 -29
- package/dist/docusaurus/renderers/paramtype.js.map +1 -1
- package/dist/docusaurus/renderers/referencetype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/referencetype.js +0 -17
- package/dist/docusaurus/renderers/referencetype.js.map +1 -1
- package/dist/docusaurus/renderers/reftexttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/reftexttype.js +0 -16
- package/dist/docusaurus/renderers/reftexttype.js.map +1 -1
- package/dist/docusaurus/renderers/reftype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/reftype.js +0 -16
- package/dist/docusaurus/renderers/reftype.js.map +1 -1
- package/dist/docusaurus/renderers/renderers.d.ts.map +1 -1
- package/dist/docusaurus/renderers/renderers.js +4 -33
- package/dist/docusaurus/renderers/renderers.js.map +1 -1
- package/dist/docusaurus/renderers/substringtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/substringtype.js +0 -17
- package/dist/docusaurus/renderers/substringtype.js.map +1 -1
- package/dist/docusaurus/renderers/tableofcontentstype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/tableofcontentstype.js +0 -17
- package/dist/docusaurus/renderers/tableofcontentstype.js.map +1 -1
- package/dist/docusaurus/types.d.ts +4 -8
- 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.map +1 -1
- package/dist/docusaurus/utils.js +0 -82
- package/dist/docusaurus/utils.js.map +1 -1
- package/dist/docusaurus/view-model/classes-vm.d.ts +2 -2
- package/dist/docusaurus/view-model/classes-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/classes-vm.js +12 -87
- package/dist/docusaurus/view-model/classes-vm.js.map +1 -1
- package/dist/docusaurus/view-model/collection-base.d.ts +2 -2
- package/dist/docusaurus/view-model/collection-base.d.ts.map +1 -1
- package/dist/docusaurus/view-model/collection-base.js +11 -23
- package/dist/docusaurus/view-model/collection-base.js.map +1 -1
- package/dist/docusaurus/view-model/compound-base-vm.d.ts +2 -32
- package/dist/docusaurus/view-model/compound-base-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/compound-base-vm.js +47 -129
- 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.map +1 -1
- package/dist/docusaurus/view-model/description-anchors.js +0 -13
- package/dist/docusaurus/view-model/description-anchors.js.map +1 -1
- package/dist/docusaurus/view-model/files-and-folders-vm.d.ts +2 -2
- package/dist/docusaurus/view-model/files-and-folders-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/files-and-folders-vm.js +64 -110
- package/dist/docusaurus/view-model/files-and-folders-vm.js.map +1 -1
- package/dist/docusaurus/view-model/groups-vm.d.ts +2 -2
- package/dist/docusaurus/view-model/groups-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/groups-vm.js +7 -80
- package/dist/docusaurus/view-model/groups-vm.js.map +1 -1
- package/dist/docusaurus/view-model/members-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/members-vm.js +17 -154
- package/dist/docusaurus/view-model/members-vm.js.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.d.ts +6 -2
- package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.js +82 -89
- package/dist/docusaurus/view-model/namespaces-vm.js.map +1 -1
- package/dist/docusaurus/view-model/options.d.ts.map +1 -1
- package/dist/docusaurus/view-model/options.js +0 -14
- package/dist/docusaurus/view-model/options.js.map +1 -1
- package/dist/docusaurus/view-model/pages-vm.d.ts +2 -2
- package/dist/docusaurus/view-model/pages-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/pages-vm.js +3 -50
- package/dist/docusaurus/view-model/pages-vm.js.map +1 -1
- package/dist/docusaurus/view-model/tree-entries-vm.d.ts +8 -22
- package/dist/docusaurus/view-model/tree-entries-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/tree-entries-vm.js +54 -54
- package/dist/docusaurus/view-model/tree-entries-vm.js.map +1 -1
- package/dist/docusaurus/view-model/view-model.d.ts +0 -6
- package/dist/docusaurus/view-model/view-model.d.ts.map +1 -1
- package/dist/docusaurus/view-model/view-model.js +20 -63
- package/dist/docusaurus/view-model/view-model.js.map +1 -1
- package/dist/docusaurus/workspace.d.ts +1 -20
- package/dist/docusaurus/workspace.d.ts.map +1 -1
- package/dist/docusaurus/workspace.js +9 -116
- package/dist/docusaurus/workspace.js.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts +5 -7
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.js +23 -187
- package/dist/doxygen/data-model/compounds/compounddef-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts +0 -9
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.js +1 -47
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts +0 -39
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.js +36 -1308
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js +0 -64
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/doxygentype-dm.js +0 -35
- package/dist/doxygen/data-model/compounds/doxygentype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js +1 -44
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/inctype-dm.d.ts +0 -9
- package/dist/doxygen/data-model/compounds/inctype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/inctype-dm.js +3 -48
- package/dist/doxygen/data-model/compounds/inctype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts +3 -15
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js +5 -57
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js +0 -38
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/locationtype-dm.js +4 -52
- package/dist/doxygen/data-model/compounds/locationtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts +2 -10
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.js +19 -64
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/memberreftype-dm.js +1 -45
- package/dist/doxygen/data-model/compounds/memberreftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/membertype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/membertype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/membertype-dm.js +0 -43
- package/dist/doxygen/data-model/compounds/membertype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.js +0 -51
- package/dist/doxygen/data-model/compounds/paramtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts +0 -9
- package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/referencetype-dm.js +2 -47
- package/dist/doxygen/data-model/compounds/referencetype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reftexttype-dm.js +2 -38
- package/dist/doxygen/data-model/compounds/reftexttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reftype-dm.d.ts +0 -21
- package/dist/doxygen/data-model/compounds/reftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reftype-dm.js +4 -82
- package/dist/doxygen/data-model/compounds/reftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.js +1 -42
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts +0 -9
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js +0 -53
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts +0 -12
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js +0 -105
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js +0 -38
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/data-model.d.ts +0 -65
- package/dist/doxygen/data-model/data-model.d.ts.map +1 -1
- package/dist/doxygen/data-model/data-model.js +4 -115
- package/dist/doxygen/data-model/data-model.js.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js +4 -47
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js +0 -40
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js.map +1 -1
- package/dist/doxygen/data-model/doxygen-xml-parser.d.ts +0 -236
- package/dist/doxygen/data-model/doxygen-xml-parser.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxygen-xml-parser.js +0 -289
- package/dist/doxygen/data-model/doxygen-xml-parser.js.map +1 -1
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.js +2 -45
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.js +0 -41
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.js.map +1 -1
- package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexmembertype-dm.js +1 -43
- package/dist/doxygen/data-model/index/indexmembertype-dm.js.map +1 -1
- package/dist/doxygen/data-model/types.d.ts +1 -10
- package/dist/doxygen/data-model/types.d.ts.map +1 -1
- package/dist/doxygen/data-model/types.js +0 -15
- 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 +53 -56
- 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 -1147
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/tsdoc-metadata.json +0 -11
- /package/{template → templates}/css/custom.css +0 -0
- /package/{template → templates}/img/README.md +0 -0
- /package/{template → templates}/img/document-svgrepo-com.svg +0 -0
- /package/{template → templates}/img/folder-svgrepo-com.svg +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doxygen-xml-parser.js","sourceRoot":"","sources":["../../../src/doxygen/data-model/doxygen-xml-parser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"doxygen-xml-parser.js","sourceRoot":"","sources":["../../../src/doxygen/data-model/doxygen-xml-parser.ts"],"names":[],"mappings":"AAaA,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AAEjC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AA4B3C,MAAM,OAAO,gBAAgB;IAQ3B,OAAO,CAAY;IAUnB,SAAS,CAAW;IASpB,MAAM,GAA2B,EAAE,CAAA;IAcnC,YAAY,OAAmB;QAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QAEtB,IAAI,CAAC,SAAS,GAAG,IAAI,SAAS,CAAC;YAC7B,aAAa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C,mBAAmB,CAAC,CAAA;QACtC,CAAC;IACH,CAAC;IAkBD,sBAAsB,CAAC,OAAe,EAAE,IAAY;QAClD,MAAM,aAAa,GACjB,OACD,CAAC,IAAI,CAAC,CAAA;QAKP,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC/B,MAAM,SAAS,GACb,aAAa,CAAC,CAAC,CAChB,CAAC,OAAO,CAAC,CAAA;YACV,MAAM,KAAK,GAAG,SAAS,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAA;YACvD,OAAO,KAAK,KAAK,MAAM,CAAA;QACzB,CAAC;aAAM,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACtC,OAAO,KAAK,CAAA;QACd,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAA;QACtC,CAAC;IACH,CAAC;IAgBD,YAAY,CAAC,OAAe;QAE1B,MAAM,KAAK,GAAI,OAAoD,CAAC,OAAO,CAAC,CAAA;QAC5E,MAAM,CACJ,OAAO,KAAK,KAAK,QAAQ;YACvB,OAAO,KAAK,KAAK,QAAQ;YACzB,OAAO,KAAK,KAAK,SAAS,CAC7B,CAAA;QACD,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAA;IACzB,CAAC;CACF"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { DoxygenXmlParser } from '../doxygen-xml-parser.js';
|
|
2
2
|
import { IndexMemberDataModel } from './indexmembertype-dm.js';
|
|
3
3
|
import { AbstractDataModelBase } from '../types.js';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
4
|
export declare abstract class AbstractIndexCompoundType extends AbstractDataModelBase {
|
|
8
5
|
name: string;
|
|
9
6
|
members: IndexMemberDataModel[] | undefined;
|
|
@@ -12,9 +9,6 @@ export declare abstract class AbstractIndexCompoundType extends AbstractDataMode
|
|
|
12
9
|
constructor(xml: DoxygenXmlParser, element: object, elementName: string);
|
|
13
10
|
}
|
|
14
11
|
export type IndexCompoundKind = 'class' | 'struct' | 'union' | 'interface' | 'protocol' | 'category' | 'exception' | 'file' | 'namespace' | 'group' | 'page' | 'example' | 'dir' | 'type' | 'concept' | 'module';
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
12
|
export declare class IndexCompoundDataModel extends AbstractIndexCompoundType {
|
|
19
13
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
20
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexcompoundtype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexcompoundtype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"indexcompoundtype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexcompoundtype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AA0BnD,8BAAsB,yBAA0B,SAAQ,qBAAqB;IAS3E,IAAI,SAAK;IAWT,OAAO,EAAE,oBAAoB,EAAE,GAAG,SAAS,CAAA;IAU3C,KAAK,SAAK;IAUV,IAAI,SAAK;gBAgBG,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CA+DxE;AAsCD,MAAM,MAAM,iBAAiB,GACzB,OAAO,GACP,QAAQ,GACR,OAAO,GACP,WAAW,GACX,UAAU,GACV,UAAU,GACV,WAAW,GACX,MAAM,GACN,WAAW,GACX,OAAO,GACP,MAAM,GACN,SAAS,GACT,KAAK,GACL,MAAM,GACN,SAAS,GACT,QAAQ,CAAA;AAmBZ,qBAAa,sBAAuB,SAAQ,yBAAyB;gBAavD,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}
|
|
@@ -1,47 +1,18 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file is part of the xPack project (http://xpack.github.io).
|
|
3
|
-
* Copyright (c) 2025 Liviu Ionescu. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Permission to use, copy, modify, and/or distribute this software
|
|
6
|
-
* for any purpose is hereby granted, under the terms of the MIT license.
|
|
7
|
-
*
|
|
8
|
-
* If a copy of the license was not distributed with this file, it can
|
|
9
|
-
* be obtained from https://opensource.org/licenses/MIT.
|
|
10
|
-
*/
|
|
11
|
-
// ----------------------------------------------------------------------------
|
|
12
1
|
import assert from 'node:assert';
|
|
13
2
|
import * as util from 'node:util';
|
|
14
3
|
import { IndexMemberDataModel } from './indexmembertype-dm.js';
|
|
15
4
|
import { AbstractDataModelBase } from '../types.js';
|
|
16
|
-
// ----------------------------------------------------------------------------
|
|
17
|
-
// <xsd:complexType name="CompoundType">
|
|
18
|
-
// <xsd:sequence>
|
|
19
|
-
// <xsd:element name="name" type="xsd:string"/>
|
|
20
|
-
// <xsd:element name="member" type="MemberType" minOccurs="0" maxOccurs="unbounded"/>
|
|
21
|
-
// </xsd:sequence>
|
|
22
|
-
// <xsd:attribute name="refid" type="xsd:string" use="required"/>
|
|
23
|
-
// <xsd:attribute name="kind" type="CompoundKind" use="required"/>
|
|
24
|
-
// </xsd:complexType>
|
|
25
|
-
/**
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
5
|
export class AbstractIndexCompoundType extends AbstractDataModelBase {
|
|
29
|
-
// Mandatory elements.
|
|
30
6
|
name = '';
|
|
31
|
-
members;
|
|
32
|
-
// Mandatory attributes.
|
|
7
|
+
members;
|
|
33
8
|
refid = '';
|
|
34
|
-
kind = '';
|
|
9
|
+
kind = '';
|
|
35
10
|
constructor(xml, element, elementName) {
|
|
36
11
|
super(elementName);
|
|
37
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
38
|
-
// ------------------------------------------------------------------------
|
|
39
|
-
// Process elements.
|
|
40
12
|
const innerElements = xml.getInnerElements(element, elementName);
|
|
41
13
|
assert(innerElements.length > 0);
|
|
42
14
|
for (const innerElement of innerElements) {
|
|
43
15
|
if (xml.hasInnerText(innerElement)) {
|
|
44
|
-
// Ignore texts.
|
|
45
16
|
}
|
|
46
17
|
else if (xml.isInnerElementText(innerElement, 'name')) {
|
|
47
18
|
assert(this.name.length === 0);
|
|
@@ -56,13 +27,9 @@ export class AbstractIndexCompoundType extends AbstractDataModelBase {
|
|
|
56
27
|
console.error(`index ${elementName} element:`, Object.keys(innerElement), 'not implemented yet in', this.constructor.name);
|
|
57
28
|
}
|
|
58
29
|
}
|
|
59
|
-
// ------------------------------------------------------------------------
|
|
60
|
-
// Process attributes.
|
|
61
30
|
assert(xml.hasAttributes(element));
|
|
62
31
|
const attributesNames = xml.getAttributesNames(element);
|
|
63
|
-
// console.log(attributesNames)
|
|
64
32
|
for (const attributeName of attributesNames) {
|
|
65
|
-
// console.log(attributeName)
|
|
66
33
|
if (attributeName === '@_refid') {
|
|
67
34
|
this.refid = xml.getAttributeStringValue(element, '@_refid');
|
|
68
35
|
}
|
|
@@ -76,21 +43,11 @@ export class AbstractIndexCompoundType extends AbstractDataModelBase {
|
|
|
76
43
|
}
|
|
77
44
|
assert(this.refid.length > 0);
|
|
78
45
|
assert(this.kind.length > 0);
|
|
79
|
-
// ------------------------------------------------------------------------
|
|
80
|
-
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
81
|
-
// console.log('compound: ', this.refid)
|
|
82
46
|
}
|
|
83
47
|
}
|
|
84
|
-
// ----------------------------------------------------------------------------
|
|
85
|
-
// <xsd:element name="compound" type="CompoundType" minOccurs="0" maxOccurs="unbounded"/>
|
|
86
|
-
/**
|
|
87
|
-
* @public
|
|
88
|
-
*/
|
|
89
48
|
export class IndexCompoundDataModel extends AbstractIndexCompoundType {
|
|
90
49
|
constructor(xml, element) {
|
|
91
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
92
50
|
super(xml, element, 'compound');
|
|
93
51
|
}
|
|
94
52
|
}
|
|
95
|
-
// ----------------------------------------------------------------------------
|
|
96
53
|
//# sourceMappingURL=indexcompoundtype-dm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexcompoundtype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexcompoundtype-dm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"indexcompoundtype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexcompoundtype-dm.ts"],"names":[],"mappings":"AAaA,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AAGjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AA0BnD,MAAM,OAAgB,yBAA0B,SAAQ,qBAAqB;IAS3E,IAAI,GAAG,EAAE,CAAA;IAWT,OAAO,CAAoC;IAU3C,KAAK,GAAG,EAAE,CAAA;IAUV,IAAI,GAAG,EAAE,CAAA;IAgBT,YAAY,GAAqB,EAAE,OAAe,EAAE,WAAmB;QACrE,KAAK,CAAC,WAAW,CAAC,CAAA;QAOlB,MAAM,aAAa,GAAG,GAAG,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA;QAChE,MAAM,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QAEhC,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;YACzC,IAAI,GAAG,CAAC,YAAY,CAAC,Y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,CAAC,CAAA;YAC5D,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,CAAA;gBACpE,OAAO,CAAC,KAAK,CACX,SAAS,WAAW,aAAa,EACjC,aAAa,EACb,wBAAwB,EACxB,IAAI,CAAC,WAAW,CAAC,IAAI,CACtB,CAAA;YACH,CAAC;QACH,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QAC7B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAM9B,CAAC;CACF;AAyED,MAAM,OAAO,sBAAuB,SAAQ,yBAAyB;IAanE,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,UAAU,CAAC,CAAA;IACjC,CAAC;CACF"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { DoxygenXmlParser } from '../doxygen-xml-parser.js';
|
|
2
2
|
import { IndexCompoundDataModel } from './indexcompoundtype-dm.js';
|
|
3
3
|
import { AbstractDataModelBase } from '../types.js';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
4
|
export declare abstract class AbstractIndexDoxygenType extends AbstractDataModelBase {
|
|
8
5
|
version: string;
|
|
9
6
|
lang: string;
|
|
@@ -11,9 +8,6 @@ export declare abstract class AbstractIndexDoxygenType extends AbstractDataModel
|
|
|
11
8
|
noNamespaceSchemaLocation?: string | undefined;
|
|
12
9
|
constructor(xml: DoxygenXmlParser, element: object, elementName: string);
|
|
13
10
|
}
|
|
14
|
-
/**
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
11
|
export declare class DoxygenIndexDataModel extends AbstractIndexDoxygenType {
|
|
18
12
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
19
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexdoxygentype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexdoxygentype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"indexdoxygentype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexdoxygentype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAyBnD,8BAAsB,wBAAyB,SAAQ,qBAAqB;IAS1E,OAAO,SAAK;IAUZ,IAAI,SAAK;IAUT,SAAS,CAAC,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAA;IAUhD,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;gBAgBlC,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CA4DxE;AAkBD,qBAAa,qBAAsB,SAAQ,wBAAwB;gBAarD,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}
|
|
@@ -1,46 +1,18 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file is part of the xPack project (http://xpack.github.io).
|
|
3
|
-
* Copyright (c) 2025 Liviu Ionescu. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Permission to use, copy, modify, and/or distribute this software
|
|
6
|
-
* for any purpose is hereby granted, under the terms of the MIT license.
|
|
7
|
-
*
|
|
8
|
-
* If a copy of the license was not distributed with this file, it can
|
|
9
|
-
* be obtained from https://opensource.org/licenses/MIT.
|
|
10
|
-
*/
|
|
11
|
-
// ----------------------------------------------------------------------------
|
|
12
1
|
import assert from 'node:assert';
|
|
13
2
|
import * as util from 'node:util';
|
|
14
3
|
import { IndexCompoundDataModel } from './indexcompoundtype-dm.js';
|
|
15
4
|
import { AbstractDataModelBase } from '../types.js';
|
|
16
|
-
// ----------------------------------------------------------------------------
|
|
17
|
-
// WARNING: it clashes with the definition in compound.xsd.
|
|
18
|
-
// <xsd:complexType name="DoxygenType">
|
|
19
|
-
// <xsd:sequence>
|
|
20
|
-
// <xsd:element name="compound" type="CompoundType" minOccurs="0" maxOccurs="unbounded"/>
|
|
21
|
-
// </xsd:sequence>
|
|
22
|
-
// <xsd:attribute name="version" type="xsd:string" use="required"/>
|
|
23
|
-
// <xsd:attribute ref="xml:lang" use="required"/>
|
|
24
|
-
// </xsd:complexType>
|
|
25
|
-
/**
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
5
|
export class AbstractIndexDoxygenType extends AbstractDataModelBase {
|
|
29
|
-
// Mandatory attributes.
|
|
30
6
|
version = '';
|
|
31
7
|
lang = '';
|
|
32
|
-
// Optional elements.
|
|
33
8
|
compounds;
|
|
34
|
-
// Optional attributes.
|
|
35
9
|
noNamespaceSchemaLocation;
|
|
36
10
|
constructor(xml, element, elementName) {
|
|
37
11
|
super(elementName);
|
|
38
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
39
12
|
const innerElements = xml.getInnerElements(element, elementName);
|
|
40
13
|
assert(innerElements.length > 0);
|
|
41
14
|
for (const innerElement of innerElements) {
|
|
42
15
|
if (xml.hasInnerText(innerElement)) {
|
|
43
|
-
// Ignore texts.
|
|
44
16
|
}
|
|
45
17
|
else if (xml.hasInnerElement(innerElement, 'compound')) {
|
|
46
18
|
this.compounds ??= [];
|
|
@@ -51,13 +23,9 @@ export class AbstractIndexDoxygenType extends AbstractDataModelBase {
|
|
|
51
23
|
console.error(`index ${elementName} element:`, Object.keys(innerElement), 'not implemented yet in', this.constructor.name);
|
|
52
24
|
}
|
|
53
25
|
}
|
|
54
|
-
// ------------------------------------------------------------------------
|
|
55
|
-
// Process attributes.
|
|
56
26
|
assert(xml.hasAttributes(element));
|
|
57
27
|
const attributesNames = xml.getAttributesNames(element);
|
|
58
|
-
// console.log(attributesNames)
|
|
59
28
|
for (const attributeName of attributesNames) {
|
|
60
|
-
// console.log(attributeName)
|
|
61
29
|
if (attributeName === '@_version') {
|
|
62
30
|
this.version = xml.getAttributeStringValue(element, '@_version');
|
|
63
31
|
}
|
|
@@ -74,20 +42,11 @@ export class AbstractIndexDoxygenType extends AbstractDataModelBase {
|
|
|
74
42
|
}
|
|
75
43
|
assert(this.version.length > 0);
|
|
76
44
|
assert(this.lang.length > 0);
|
|
77
|
-
// ------------------------------------------------------------------------
|
|
78
|
-
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
79
45
|
}
|
|
80
46
|
}
|
|
81
|
-
// ----------------------------------------------------------------------------
|
|
82
|
-
// <xsd:element name="doxygenindex" type="DoxygenType"/>
|
|
83
|
-
/**
|
|
84
|
-
* @public
|
|
85
|
-
*/
|
|
86
47
|
export class DoxygenIndexDataModel extends AbstractIndexDoxygenType {
|
|
87
48
|
constructor(xml, element) {
|
|
88
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
89
49
|
super(xml, element, 'doxygenindex');
|
|
90
50
|
}
|
|
91
51
|
}
|
|
92
|
-
// ----------------------------------------------------------------------------
|
|
93
52
|
//# sourceMappingURL=indexdoxygentype-dm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexdoxygentype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexdoxygentype-dm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"indexdoxygentype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexdoxygentype-dm.ts"],"names":[],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xygenXmlParser } from '../doxygen-xml-parser.js';
|
|
2
2
|
import { AbstractDataModelBase } from '../types.js';
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
3
|
export declare abstract class AbstractIndexMemberType extends AbstractDataModelBase {
|
|
7
4
|
name: string;
|
|
8
5
|
refid: string;
|
|
@@ -10,9 +7,6 @@ export declare abstract class AbstractIndexMemberType extends AbstractDataModelB
|
|
|
10
7
|
constructor(xml: DoxygenXmlParser, element: object, elementName: string);
|
|
11
8
|
}
|
|
12
9
|
export type IndexMemberKind = 'define' | 'property' | 'event' | 'variable' | 'typedef' | 'enum' | 'enumvalue' | 'function' | 'signal' | 'prototype' | 'friend' | 'dcop' | 'slot';
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
10
|
export declare class IndexMemberDataModel extends AbstractIndexMemberType {
|
|
17
11
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
18
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexmembertype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexmembertype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"indexmembertype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexmembertype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAyBnD,8BAAsB,uBAAwB,SAAQ,qBAAqB;IAQzE,IAAI,SAAK;IAUT,KAAK,SAAK;IAUV,IAAI,SAAK;gBAeG,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CA2DxE;AAmCD,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,UAAU,GACV,OAAO,GACP,UAAU,GACV,SAAS,GACT,MAAM,GACN,WAAW,GACX,UAAU,GACV,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,MAAM,GACN,MAAM,CAAA;AAmBV,qBAAa,oBAAqB,SAAQ,uBAAuB;gBAYnD,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}
|
|
@@ -1,44 +1,16 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file is part of the xPack project (http://xpack.github.io).
|
|
3
|
-
* Copyright (c) 2025 Liviu Ionescu. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Permission to use, copy, modify, and/or distribute this software
|
|
6
|
-
* for any purpose is hereby granted, under the terms of the MIT license.
|
|
7
|
-
*
|
|
8
|
-
* If a copy of the license was not distributed with this file, it can
|
|
9
|
-
* be obtained from https://opensource.org/licenses/MIT.
|
|
10
|
-
*/
|
|
11
|
-
// ----------------------------------------------------------------------------
|
|
12
1
|
import assert from 'node:assert';
|
|
13
2
|
import * as util from 'node:util';
|
|
14
3
|
import { AbstractDataModelBase } from '../types.js';
|
|
15
|
-
// ----------------------------------------------------------------------------
|
|
16
|
-
// <xsd:complexType name="MemberType">
|
|
17
|
-
// <xsd:sequence>
|
|
18
|
-
// <xsd:element name="name" type="xsd:string"/>
|
|
19
|
-
// </xsd:sequence>
|
|
20
|
-
// <xsd:attribute name="refid" type="xsd:string" use="required"/>
|
|
21
|
-
// <xsd:attribute name="kind" type="MemberKind" use="required"/>
|
|
22
|
-
// </xsd:complexType>
|
|
23
|
-
/**
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
4
|
export class AbstractIndexMemberType extends AbstractDataModelBase {
|
|
27
|
-
// Mandatory elements.
|
|
28
5
|
name = '';
|
|
29
|
-
// Mandatory attributes.
|
|
30
6
|
refid = '';
|
|
31
|
-
kind = '';
|
|
7
|
+
kind = '';
|
|
32
8
|
constructor(xml, element, elementName) {
|
|
33
9
|
super(elementName);
|
|
34
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
35
|
-
// ------------------------------------------------------------------------
|
|
36
|
-
// Process elements.
|
|
37
10
|
const innerElements = xml.getInnerElements(element, elementName);
|
|
38
11
|
assert(innerElements.length > 0);
|
|
39
12
|
for (const innerElement of innerElements) {
|
|
40
13
|
if (xml.hasInnerText(innerElement)) {
|
|
41
|
-
// Ignore texts.
|
|
42
14
|
}
|
|
43
15
|
else if (xml.isInnerElementText(innerElement, 'name')) {
|
|
44
16
|
assert(this.name.length === 0);
|
|
@@ -49,13 +21,9 @@ export class AbstractIndexMemberType extends AbstractDataModelBase {
|
|
|
49
21
|
console.error(`index ${elementName} element:`, Object.keys(innerElement), 'not implemented yet in', this.constructor.name);
|
|
50
22
|
}
|
|
51
23
|
}
|
|
52
|
-
// ------------------------------------------------------------------------
|
|
53
|
-
// Process attributes.
|
|
54
24
|
assert(xml.hasAttributes(element));
|
|
55
25
|
const attributesNames = xml.getAttributesNames(element);
|
|
56
|
-
// console.log(attributesNames)
|
|
57
26
|
for (const attributeName of attributesNames) {
|
|
58
|
-
// console.log(attributeName)
|
|
59
27
|
if (attributeName === '@_refid') {
|
|
60
28
|
this.refid = xml.getAttributeStringValue(element, '@_refid');
|
|
61
29
|
}
|
|
@@ -69,21 +37,11 @@ export class AbstractIndexMemberType extends AbstractDataModelBase {
|
|
|
69
37
|
}
|
|
70
38
|
assert(this.refid.length > 0);
|
|
71
39
|
assert(this.kind.length > 0);
|
|
72
|
-
// ------------------------------------------------------------------------
|
|
73
|
-
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
74
40
|
}
|
|
75
41
|
}
|
|
76
|
-
// ----------------------------------------------------------------------------
|
|
77
|
-
// The name clashes with a similar definition in compound.xsd.
|
|
78
|
-
// <xsd:element name="member" type="MemberType" minOccurs="0" maxOccurs="unbounded" />
|
|
79
|
-
/**
|
|
80
|
-
* @public
|
|
81
|
-
*/
|
|
82
42
|
export class IndexMemberDataModel extends AbstractIndexMemberType {
|
|
83
43
|
constructor(xml, element) {
|
|
84
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
85
44
|
super(xml, element, 'member');
|
|
86
45
|
}
|
|
87
46
|
}
|
|
88
|
-
// ----------------------------------------------------------------------------
|
|
89
47
|
//# sourceMappingURL=indexmembertype-dm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexmembertype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexmembertype-dm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"indexmembertype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexmembertype-dm.ts"],"names":[],"mappings":"AAaA,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AAGjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAyBnD,MAAM,OAAgB,uBAAwB,SAAQ,qBAAqB;IAQzE,IAAI,GAAG,EAAE,CAAA;IAUT,KAAK,GAAG,EAAE,CAAA;IAUV,IAAI,GAAG,EAAE,CAAA;IAeT,YAAY,GAAqB,EAAE,OAAe,EAAE,WAAmB;QACrE,KAAK,CAAC,WAAW,CAAC,CAAA;QAOlB,MAAM,aAAa,GAAG,GAAG,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA;QAChE,MAAM,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QAEhC,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;YACzC,IAAI,GAAG,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,CAAC;YAErC,CAAC;iBAAM,IAAI,GAAG,CAAC,kBAAkB,CAAC,YAAY,EAAE,MAAM,CAAC,EAAE,CAAC;gBACxD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,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7B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAK9B,CAAC;CACF;AAmED,MAAM,OAAO,oBAAqB,SAAQ,uBAAuB;IAY/D,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAA;IAC/B,CAAC;CACF"}
|
|
@@ -6,15 +6,9 @@ export interface XmlPrologue {
|
|
|
6
6
|
'@_standalone': string;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
9
|
export interface XmlAttributes {
|
|
13
10
|
':@': Record<string, string | number | boolean>;
|
|
14
11
|
}
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
12
|
export interface XmlElement {
|
|
19
13
|
(key: string): XmlElement[];
|
|
20
14
|
'#text': string | number | boolean;
|
|
@@ -31,14 +25,11 @@ export interface XmlNameElement {
|
|
|
31
25
|
'#text': string;
|
|
32
26
|
};
|
|
33
27
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
28
|
export declare abstract class AbstractDataModelBase {
|
|
38
29
|
elementName: string;
|
|
39
30
|
skipPara?: boolean;
|
|
40
31
|
children?: (string | AbstractDataModelBase)[];
|
|
41
32
|
constructor(elementName: string);
|
|
42
33
|
}
|
|
43
|
-
export type DataModelElement =
|
|
34
|
+
export type DataModelElement = string | AbstractDataModelBase;
|
|
44
35
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/doxygen/data-model/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/doxygen/data-model/types.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,CAAC,OAAO,CAAC,CAAA;IACjB,IAAI,EAAE;QACJ,WAAW,EAAE,MAAM,CAAA;QACnB,YAAY,EAAE,MAAM,CAAA;QACpB,cAAc,EAAE,MAAM,CAAA;KACvB,CAAA;CACF;AAcD,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;CAChD;AAYD,MAAM,WAAW,UAAU;IAEzB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,EAAE,CAAA;IAC3B,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;CACjD;AAWD,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,MAAM,CAAA;CAChB;AAWD,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAWD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;CACF;AAcD,8BAAsB,qBAAqB;IAOzC,WAAW,EAAE,MAAM,CAAA;IASnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IASlB,QAAQ,CAAC,EAAE,CAAC,MAAM,GAAG,qBAAqB,CAAC,EAAE,CAAA;gBAYjC,WAAW,EAAE,MAAM;CAGhC;AAWD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,qBAAqB,CAAA"}
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file is part of the xPack project (http://xpack.github.io).
|
|
3
|
-
* Copyright (c) 2025 Liviu Ionescu. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Permission to use, copy, modify, and/or distribute this software
|
|
6
|
-
* for any purpose is hereby granted, under the terms of the MIT license.
|
|
7
|
-
*
|
|
8
|
-
* If a copy of the license was not distributed with this file, it can
|
|
9
|
-
* be obtained from https://opensource.org/licenses/MIT.
|
|
10
|
-
*/
|
|
11
|
-
// ----------------------------------------------------------------------------
|
|
12
|
-
/**
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
1
|
export class AbstractDataModelBase {
|
|
16
2
|
elementName;
|
|
17
3
|
skipPara;
|
|
@@ -20,5 +6,4 @@ export class AbstractDataModelBase {
|
|
|
20
6
|
this.elementName = elementName;
|
|
21
7
|
}
|
|
22
8
|
}
|
|
23
|
-
// ----------------------------------------------------------------------------
|
|
24
9
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/doxygen/data-model/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/doxygen/data-model/types.ts"],"names":[],"mappings":"AAyHA,MAAM,OAAgB,qBAAqB;IAOzC,WAAW,CAAQ;IASnB,QAAQ,CAAU;IASlB,QAAQ,CAAqC;IAY7C,YAAY,WAAmB;QAC7B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;IAChC,CAAC;CACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A CLI application to convert Doxygen XML files into Docusaurus
|
|
3
|
-
* documentation.
|
|
4
|
-
*
|
|
5
|
-
* @remarks
|
|
6
|
-
* This tool facilitates the integration of Doxygen reference pages into
|
|
7
|
-
* Docusaurus documentation sites. It parses Doxygen-generated XML files and
|
|
8
|
-
* produces Docusaurus `.md` documents, along with the corresponding sidebars
|
|
9
|
-
* and menu entries.
|
|
10
|
-
*
|
|
11
|
-
* @packageDocumentation
|
|
12
|
-
*/
|
|
13
1
|
import { AbstractCompoundDefType, CompoundDefDataModel } from './doxygen/data-model/compounds/compounddef-dm.js';
|
|
14
2
|
import { XmlElement, AbstractDataModelBase } from './doxygen/data-model/types.js';
|
|
15
3
|
import { DataModel } from './doxygen/data-model/data-model.js';
|
|
16
|
-
import { CliOptions } from './docusaurus/cli-options.js';
|
|
4
|
+
import { CliOptions, CommandOptions, CliConfigurationOptions, MultiConfigurations } from './docusaurus/cli-options.js';
|
|
17
5
|
import { DoxygenXmlParser } from './doxygen/data-model/doxygen-xml-parser.js';
|
|
18
6
|
import { DoxygenFileDataModel, AbstractDoxygenFileType } from './doxygen/data-model/doxyfile/doxyfiletype-dm.js';
|
|
19
7
|
import { DoxygenIndexDataModel, AbstractIndexDoxygenType } from './doxygen/data-model/index/indexdoxygentype-dm.js';
|
|
@@ -21,7 +9,7 @@ import { AbstractDocImageType, AbstractListingType, AbstractDescriptionType, Abs
|
|
|
21
9
|
import { BriefDescriptionDataModel, DetailedDescriptionDataModel, ProgramListingDataModel } from './doxygen/data-model/compounds/descriptiontype-dm.js';
|
|
22
10
|
import { BaseCompoundRefDataModel, DerivedCompoundRefDataModel, AbstractCompoundRefType } from './doxygen/data-model/compounds/compoundreftype-dm.js';
|
|
23
11
|
import { IncludesDataModel, IncludedByDataModel, AbstractIncType } from './doxygen/data-model/compounds/inctype-dm.js';
|
|
24
|
-
import { AbstractRefType, InnerClassDataModel, InnerDirDataModel, InnerFileDataModel, InnerGroupDataModel, InnerNamespaceDataModel, InnerPageDataModel } from './doxygen/data-model/compounds/reftype-dm.js';
|
|
12
|
+
import { AbstractRefType, InnerClassDataModel, InnerConceptDataModel, InnerDirDataModel, InnerFileDataModel, InnerGroupDataModel, InnerNamespaceDataModel, InnerPageDataModel } from './doxygen/data-model/compounds/reftype-dm.js';
|
|
25
13
|
import { AbstractLocationType, LocationDataModel } from './doxygen/data-model/compounds/locationtype-dm.js';
|
|
26
14
|
import { AbstractSectionDefType, SectionDefDataModel, AbstractSectionDefTypeBase } from './doxygen/data-model/compounds/sectiondeftype-dm.js';
|
|
27
15
|
import { AbstractTemplateParamListType, TemplateParamListDataModel } from './doxygen/data-model/compounds/templateparamlisttype-dm.js';
|
|
@@ -34,10 +22,10 @@ import { MemberRefDataModel, AbstractMemberRefType } from './doxygen/data-model/
|
|
|
34
22
|
import { ParamDataModel, AbstractParamType } from './doxygen/data-model/compounds/paramtype-dm.js';
|
|
35
23
|
import { MemberDataModel, AbstractMemberType } from './doxygen/data-model/compounds/membertype-dm.js';
|
|
36
24
|
import { MemberDefDataModel, AbstractMemberDefType, AbstractMemberBaseType } from './doxygen/data-model/compounds/memberdeftype-dm.js';
|
|
37
|
-
import { TypeDataModel, DefValDataModel, TypeConstraintDataModel, AbstractLinkedTextType, InitializerDataModel } from './doxygen/data-model/compounds/linkedtexttype-dm.js';
|
|
25
|
+
import { TypeDataModel, DefValDataModel, TypeConstraintDataModel, AbstractLinkedTextType, InitializerDataModel, RequiresClauseDataModel } from './doxygen/data-model/compounds/linkedtexttype-dm.js';
|
|
38
26
|
import { ReferenceDataModel, ReferencedByDataModel, AbstractReferenceType } from './doxygen/data-model/compounds/referencetype-dm.js';
|
|
39
27
|
import { ReimplementDataModel, AbstractReimplementType } from './doxygen/data-model/compounds/reimplementtype-dm.js';
|
|
40
28
|
import { EnumValueDataModel, AbstractEnumValueType } from './doxygen/data-model/compounds/enumvaluetype-dm.js';
|
|
41
29
|
export * from './cli/main.js';
|
|
42
|
-
export { CompoundDefDataModel, AbstractCompoundDefType, DataModel, CliOptions, DoxygenXmlParser, DoxygenFileDataModel, DoxygenIndexDataModel, AbstractIncType, AbstractIndexCompoundType, AbstractDocImageType, AbstractDoxygenFileType, AbstractIndexDoxygenType, AbstractDataModelBase, AbstractListingType, AbstractListOfAllMembersType, AbstractLocationType, AbstractRefType, AbstractSectionDefType, AbstractTableOfContentsType, AbstractTemplateParamListType, XmlElement, IndexMemberDataModel, AbstractListingTypeBase, MemberRefDataModel, AbstractSectionDefTypeBase, TocSectDataModel, ParamDataModel, AbstractCompoundRefType, AbstractDescriptionType, AbstractDoxygenFileOptionType, AbstractTableOfContentsKindType, CodeLineDataModel, DescriptionDataModel, MemberDefDataModel, MemberDataModel, AbstractIndexMemberType, AbstractMemberRefType, AbstractParamType, DefValDataModel, TypeDataModel, TypeConstraintDataModel, AbstractCodeLineType, AbstractMemberType, AbstractMemberDefType, HighlightDataModel, AbstractMemberBaseType, EnumValueDataModel, InbodyDescriptionDataModel, InitializerDataModel, ReferencedByDataModel, ReferenceDataModel, ReimplementDataModel, AbstractLinkedTextType, AbstractEnumValueType, AbstractHighlightType, AbstractReferenceType, AbstractReimplementType, BriefDescriptionDataModel, DetailedDescriptionDataModel, ProgramListingDataModel, BaseCompoundRefDataModel, DerivedCompoundRefDataModel, IncludesDataModel, IncludedByDataModel, InnerClassDataModel, InnerDirDataModel, InnerFileDataModel, InnerGroupDataModel, InnerNamespaceDataModel, InnerPageDataModel, LocationDataModel, SectionDefDataModel, TemplateParamListDataModel, ListOfAllMembersDataModel, TableOfContentsDataModel, IndexCompoundDataModel, DoxygenFileOptionDataModel, };
|
|
30
|
+
export { CompoundDefDataModel, AbstractCompoundDefType, DataModel, CliOptions, CommandOptions, CliConfigurationOptions, MultiConfigurations, DoxygenXmlParser, DoxygenFileDataModel, DoxygenIndexDataModel, AbstractIncType, AbstractIndexCompoundType, AbstractDocImageType, AbstractDoxygenFileType, AbstractIndexDoxygenType, AbstractDataModelBase, AbstractListingType, AbstractListOfAllMembersType, AbstractLocationType, AbstractRefType, AbstractSectionDefType, AbstractTableOfContentsType, AbstractTemplateParamListType, XmlElement, IndexMemberDataModel, AbstractListingTypeBase, MemberRefDataModel, AbstractSectionDefTypeBase, TocSectDataModel, ParamDataModel, AbstractCompoundRefType, AbstractDescriptionType, AbstractDoxygenFileOptionType, AbstractTableOfContentsKindType, CodeLineDataModel, DescriptionDataModel, MemberDefDataModel, MemberDataModel, AbstractIndexMemberType, AbstractMemberRefType, AbstractParamType, DefValDataModel, TypeDataModel, TypeConstraintDataModel, AbstractCodeLineType, AbstractMemberType, AbstractMemberDefType, HighlightDataModel, AbstractMemberBaseType, EnumValueDataModel, InbodyDescriptionDataModel, InitializerDataModel, RequiresClauseDataModel, ReferencedByDataModel, ReferenceDataModel, ReimplementDataModel, AbstractLinkedTextType, AbstractEnumValueType, AbstractHighlightType, AbstractReferenceType, AbstractReimplementType, BriefDescriptionDataModel, DetailedDescriptionDataModel, ProgramListingDataModel, BaseCompoundRefDataModel, DerivedCompoundRefDataModel, IncludesDataModel, IncludedByDataModel, InnerClassDataModel, InnerConceptDataModel, InnerDirDataModel, InnerFileDataModel, InnerGroupDataModel, InnerNamespaceDataModel, InnerPageDataModel, LocationDataModel, SectionDefDataModel, TemplateParamListDataModel, ListOfAllMembersDataModel, TableOfContentsDataModel, IndexCompoundDataModel, DoxygenFileOptionDataModel, };
|
|
43
31
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA2BA,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,kDAAkD,CAAA;AACzD,OAAO,EACL,UAAU,EACV,qBAAqB,EACtB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAA;AAC9D,OAAO,EACL,UAAU,EACV,cAAc,EACd,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAA;AAC7E,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,kDAAkD,CAAA;AACzD,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACzB,MAAM,mDAAmD,CAAA;AAC1D,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,0BAA0B,EAC1B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B,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EAGvB,yBAAyB,EACzB,4BAA4B,EAC5B,uBAAuB,EAGvB,wBAAwB,EACxB,2BAA2B,EAG3B,iBAAiB,EACjB,mBAAmB,EAGnB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAGlB,iBAAiB,EACjB,mBAAmB,EACnB,0BAA0B,EAC1B,yBAAyB,EACzB,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,GAC3B,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,31 +1,7 @@
|
|
|
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
|
-
* A CLI application to convert Doxygen XML files into Docusaurus
|
|
13
|
-
* documentation.
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* This tool facilitates the integration of Doxygen reference pages into
|
|
17
|
-
* Docusaurus documentation sites. It parses Doxygen-generated XML files and
|
|
18
|
-
* produces Docusaurus `.md` documents, along with the corresponding sidebars
|
|
19
|
-
* and menu entries.
|
|
20
|
-
*
|
|
21
|
-
* @packageDocumentation
|
|
22
|
-
*/
|
|
23
|
-
// ----------------------------------------------------------------------------
|
|
24
|
-
// The top entry point into the plugin, mentioned in `package.json`.
|
|
25
1
|
import { AbstractCompoundDefType, CompoundDefDataModel, } from './doxygen/data-model/compounds/compounddef-dm.js';
|
|
26
2
|
import { AbstractDataModelBase, } from './doxygen/data-model/types.js';
|
|
27
3
|
import { DataModel } from './doxygen/data-model/data-model.js';
|
|
28
|
-
import { CliOptions } from './docusaurus/cli-options.js';
|
|
4
|
+
import { CliOptions, } from './docusaurus/cli-options.js';
|
|
29
5
|
import { DoxygenXmlParser } from './doxygen/data-model/doxygen-xml-parser.js';
|
|
30
6
|
import { DoxygenFileDataModel, AbstractDoxygenFileType, } from './doxygen/data-model/doxyfile/doxyfiletype-dm.js';
|
|
31
7
|
import { DoxygenIndexDataModel, AbstractIndexDoxygenType, } from './doxygen/data-model/index/indexdoxygentype-dm.js';
|
|
@@ -33,7 +9,7 @@ import { AbstractDocImageType, AbstractListingType, AbstractDescriptionType, Abs
|
|
|
33
9
|
import { BriefDescriptionDataModel, DetailedDescriptionDataModel, ProgramListingDataModel, } from './doxygen/data-model/compounds/descriptiontype-dm.js';
|
|
34
10
|
import { BaseCompoundRefDataModel, DerivedCompoundRefDataModel, AbstractCompoundRefType, } from './doxygen/data-model/compounds/compoundreftype-dm.js';
|
|
35
11
|
import { IncludesDataModel, IncludedByDataModel, AbstractIncType, } from './doxygen/data-model/compounds/inctype-dm.js';
|
|
36
|
-
import { AbstractRefType, InnerClassDataModel, InnerDirDataModel, InnerFileDataModel, InnerGroupDataModel, InnerNamespaceDataModel, InnerPageDataModel, } from './doxygen/data-model/compounds/reftype-dm.js';
|
|
12
|
+
import { AbstractRefType, InnerClassDataModel, InnerConceptDataModel, InnerDirDataModel, InnerFileDataModel, InnerGroupDataModel, InnerNamespaceDataModel, InnerPageDataModel, } from './doxygen/data-model/compounds/reftype-dm.js';
|
|
37
13
|
import { AbstractLocationType, LocationDataModel, } from './doxygen/data-model/compounds/locationtype-dm.js';
|
|
38
14
|
import { AbstractSectionDefType, SectionDefDataModel, AbstractSectionDefTypeBase, } from './doxygen/data-model/compounds/sectiondeftype-dm.js';
|
|
39
15
|
import { AbstractTemplateParamListType, TemplateParamListDataModel, } from './doxygen/data-model/compounds/templateparamlisttype-dm.js';
|
|
@@ -46,24 +22,10 @@ import { MemberRefDataModel, AbstractMemberRefType, } from './doxygen/data-model
|
|
|
46
22
|
import { ParamDataModel, AbstractParamType, } from './doxygen/data-model/compounds/paramtype-dm.js';
|
|
47
23
|
import { MemberDataModel, AbstractMemberType, } from './doxygen/data-model/compounds/membertype-dm.js';
|
|
48
24
|
import { MemberDefDataModel, AbstractMemberDefType, AbstractMemberBaseType, } from './doxygen/data-model/compounds/memberdeftype-dm.js';
|
|
49
|
-
import { TypeDataModel, DefValDataModel, TypeConstraintDataModel, AbstractLinkedTextType, InitializerDataModel, } from './doxygen/data-model/compounds/linkedtexttype-dm.js';
|
|
25
|
+
import { TypeDataModel, DefValDataModel, TypeConstraintDataModel, AbstractLinkedTextType, InitializerDataModel, RequiresClauseDataModel, } from './doxygen/data-model/compounds/linkedtexttype-dm.js';
|
|
50
26
|
import { ReferenceDataModel, ReferencedByDataModel, AbstractReferenceType, } from './doxygen/data-model/compounds/referencetype-dm.js';
|
|
51
27
|
import { ReimplementDataModel, AbstractReimplementType, } from './doxygen/data-model/compounds/reimplementtype-dm.js';
|
|
52
28
|
import { EnumValueDataModel, AbstractEnumValueType, } from './doxygen/data-model/compounds/enumvaluetype-dm.js';
|
|
53
29
|
export * from './cli/main.js';
|
|
54
|
-
export {
|
|
55
|
-
// Core classes
|
|
56
|
-
CompoundDefDataModel, AbstractCompoundDefType, DataModel, CliOptions, DoxygenXmlParser, DoxygenFileDataModel, DoxygenIndexDataModel, AbstractIncType, AbstractIndexCompoundType, AbstractDocImageType, AbstractDoxygenFileType, AbstractIndexDoxygenType, AbstractDataModelBase, AbstractListingType, AbstractListOfAllMembersType, AbstractLocationType, AbstractRefType, AbstractSectionDefType, AbstractTableOfContentsType, AbstractTemplateParamListType,
|
|
57
|
-
// Missing symbols for API Extractor
|
|
58
|
-
IndexMemberDataModel, AbstractListingTypeBase, MemberRefDataModel, AbstractSectionDefTypeBase, TocSectDataModel, ParamDataModel, AbstractCompoundRefType, AbstractDescriptionType, AbstractDoxygenFileOptionType, AbstractTableOfContentsKindType, CodeLineDataModel, DescriptionDataModel, MemberDefDataModel, MemberDataModel, AbstractIndexMemberType, AbstractMemberRefType, AbstractParamType, DefValDataModel, TypeDataModel, TypeConstraintDataModel, AbstractCodeLineType, AbstractMemberType, AbstractMemberDefType, HighlightDataModel, AbstractMemberBaseType, EnumValueDataModel, InbodyDescriptionDataModel, InitializerDataModel, ReferencedByDataModel, ReferenceDataModel, ReimplementDataModel, AbstractLinkedTextType, AbstractEnumValueType, AbstractHighlightType, AbstractReferenceType, AbstractReimplementType,
|
|
59
|
-
// Description types
|
|
60
|
-
BriefDescriptionDataModel, DetailedDescriptionDataModel, ProgramListingDataModel,
|
|
61
|
-
// Compound references
|
|
62
|
-
BaseCompoundRefDataModel, DerivedCompoundRefDataModel,
|
|
63
|
-
// Include types
|
|
64
|
-
IncludesDataModel, IncludedByDataModel,
|
|
65
|
-
// Inner types
|
|
66
|
-
InnerClassDataModel, InnerDirDataModel, InnerFileDataModel, InnerGroupDataModel, InnerNamespaceDataModel, InnerPageDataModel,
|
|
67
|
-
// Other data models
|
|
68
|
-
LocationDataModel, SectionDefDataModel, TemplateParamListDataModel, ListOfAllMembersDataModel, TableOfContentsDataModel, IndexCompoundDataModel, DoxygenFileOptionDataModel, };
|
|
30
|
+
export { CompoundDefDataModel, AbstractCompoundDefType, DataModel, CliOptions, DoxygenXmlParser, DoxygenFileDataModel, DoxygenIndexDataModel, AbstractIncType, AbstractIndexCompoundType, AbstractDocImageType, AbstractDoxygenFileType, AbstractIndexDoxygenType, AbstractDataModelBase, AbstractListingType, AbstractListOfAllMembersType, AbstractLocationType, AbstractRefType, AbstractSectionDefType, AbstractTableOfContentsType, AbstractTemplateParamListType, IndexMemberDataModel, AbstractListingTypeBase, MemberRefDataModel, AbstractSectionDefTypeBase, TocSectDataModel, ParamDataModel, AbstractCompoundRefType, AbstractDescriptionType, AbstractDoxygenFileOptionType, AbstractTableOfContentsKindType, CodeLineDataModel, DescriptionDataModel, MemberDefDataModel, MemberDataModel, AbstractIndexMemberType, AbstractMemberRefType, AbstractParamType, DefValDataModel, TypeDataModel, TypeConstraintDataModel, AbstractCodeLineType, AbstractMemberType, AbstractMemberDefType, HighlightDataModel, AbstractMemberBaseType, EnumValueDataModel, InbodyDescriptionDataModel, InitializerDataModel, RequiresClauseDataModel, ReferencedByDataModel, ReferenceDataModel, ReimplementDataModel, AbstractLinkedTextType, AbstractEnumValueType, AbstractHighlightType, AbstractReferenceType, AbstractReimplementType, BriefDescriptionDataModel, DetailedDescriptionDataModel, ProgramListingDataModel, BaseCompoundRefDataModel, DerivedCompoundRefDataModel, IncludesDataModel, IncludedByDataModel, InnerClassDataModel, InnerConceptDataModel, InnerDirDataModel, InnerFileDataModel, InnerGroupDataModel, InnerNamespaceDataModel, InnerPageDataModel, LocationDataModel, SectionDefDataModel, TemplateParamListDataModel, ListOfAllMembersDataModel, TableOfContentsDataModel, IndexCompoundDataModel, DoxygenFileOptionDataModel, };
|
|
69
31
|
//# sourceMappingURL=index.js.map
|