@xpack/doxygen2docusaurus 2.0.0 → 2.2.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 +3 -1
- package/bin/doxygen2docusaurus.js +5 -5
- 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/conceptparts.d.ts +9 -0
- package/dist/docusaurus/renderers/conceptparts.d.ts.map +1 -0
- package/dist/docusaurus/renderers/conceptparts.js +21 -0
- package/dist/docusaurus/renderers/conceptparts.js.map +1 -0
- 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 +15 -186
- 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 +27 -0
- package/dist/docusaurus/view-model/concepts-vm.d.ts.map +1 -0
- package/dist/docusaurus/view-model/concepts-vm.js +337 -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 +5 -199
- package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.js +85 -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 +39 -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 +7 -492
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.js +28 -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/concepts-dm.d.ts +23 -0
- package/dist/doxygen/data-model/compounds/concepts-dm.d.ts.map +1 -0
- package/dist/doxygen/data-model/compounds/concepts-dm.js +94 -0
- package/dist/doxygen/data-model/compounds/concepts-dm.js.map +1 -0
- 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/requirements-dm.d.ts +2 -0
- package/dist/doxygen/data-model/compounds/requirements-dm.d.ts.map +1 -0
- package/dist/doxygen/data-model/compounds/requirements-dm.js +2 -0
- package/dist/doxygen/data-model/compounds/requirements-dm.js.map +1 -0
- 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 +8 -200
- 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 +5 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -42
- package/dist/index.js.map +1 -1
- package/package.json +49 -52
- 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/conceptparts.ts +119 -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 +812 -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 +749 -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 +1037 -0
- package/src/docusaurus/view-model/options.ts +95 -0
- package/src/docusaurus/view-model/pages-vm.ts +389 -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 +1230 -0
- package/src/doxygen/data-model/compounds/compoundreftype-dm.ts +266 -0
- package/src/doxygen/data-model/compounds/concepts-dm.ts +362 -0
- package/src/doxygen/data-model/compounds/descriptiontype-dm.ts +10114 -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 +881 -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/requirements-dm.ts +50 -0
- package/src/doxygen/data-model/compounds/sectiondeftype-dm.ts +330 -0
- package/src/doxygen/data-model/compounds/tableofcontentstype-dm.ts +564 -0
- package/src/doxygen/data-model/compounds/templateparamlisttype-dm.ts +150 -0
- package/src/doxygen/data-model/data-model.ts +378 -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 +1788 -0
- package/src/doxygen/data-model/xsds/doxyfile.xsd +365 -0
- package/src/doxygen/data-model/xsds/index.xsd +74 -0
- package/src/doxygen/data-model/xsds/xml.xsd +23 -0
- package/src/index.ts +267 -0
- package/src/tsconfig.json +12 -0
- package/dist/doxygen2docusaurus.d.ts +0 -4774
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/tsdoc-metadata.json +0 -11
|
@@ -5,149 +5,24 @@ import { CompoundBase } from './compound-base-vm.js';
|
|
|
5
5
|
import { DescriptionAnchor, DescriptionTocItem, DescriptionTocList } from './description-anchors.js';
|
|
6
6
|
import { Member } from './members-vm.js';
|
|
7
7
|
import { CliOptions } from '../cli-options.js';
|
|
8
|
-
/**
|
|
9
|
-
* View model that organises data for documentation generation.
|
|
10
|
-
*
|
|
11
|
-
* @remarks
|
|
12
|
-
* The ViewModel class transforms the raw Doxygen data model into structured
|
|
13
|
-
* collections suitable for generating Docusaurus documentation, including
|
|
14
|
-
* classes, files, namespaces, and other compound types. It coordinates the
|
|
15
|
-
* entire view model creation process, from object instantiation through
|
|
16
|
-
* hierarchy establishment to cross-reference resolution.
|
|
17
|
-
*
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
8
|
export declare class ViewModel {
|
|
21
|
-
/** Configuration options controlling the view model behaviour. */
|
|
22
9
|
options: CliOptions;
|
|
23
|
-
/** Reference to the parent workspace containing the data model. */
|
|
24
10
|
workspace: Workspace;
|
|
25
|
-
/** Map of collection names to their corresponding collection objects. */
|
|
26
11
|
collections: Map<string, CollectionBase>;
|
|
27
|
-
/** Map of compound identifiers to their view model objects. */
|
|
28
12
|
compoundsById: Map<string, CompoundBase>;
|
|
29
|
-
/** Map of member identifiers to their view model objects. */
|
|
30
13
|
membersById: Map<string, Member>;
|
|
31
|
-
/** Array of description table of contents lists for navigation. */
|
|
32
14
|
descriptionTocLists: DescriptionTocList[];
|
|
33
|
-
/** Map of TOC item identifiers to their corresponding objects. */
|
|
34
15
|
descriptionTocItemsById: Map<string, DescriptionTocItem>;
|
|
35
|
-
/** Map of description anchor identifiers to their objects. */
|
|
36
16
|
descriptionAnchorsById: Map<string, DescriptionAnchor>;
|
|
37
|
-
/**
|
|
38
|
-
* Constructs a new ViewModel instance.
|
|
39
|
-
*
|
|
40
|
-
* @remarks
|
|
41
|
-
* Initialises the view model with a reference to the parent workspace
|
|
42
|
-
* and sets up the collection mapping structure. This constructor prepares
|
|
43
|
-
* the foundation for transforming raw Doxygen data into organised
|
|
44
|
-
* documentation structures suitable for Docusaurus generation.
|
|
45
|
-
*
|
|
46
|
-
* @param workspace - The parent workspace containing the data model.
|
|
47
|
-
*/
|
|
48
17
|
constructor(workspace: Workspace);
|
|
49
|
-
/**
|
|
50
|
-
* Creates and populates all view model collections and objects.
|
|
51
|
-
*
|
|
52
|
-
* @remarks
|
|
53
|
-
* Orchestrates the complete view model creation process including
|
|
54
|
-
* collection instantiation, object creation, and hierarchy establishment.
|
|
55
|
-
* This method coordinates all phases of view model construction to ensure
|
|
56
|
-
* proper dependencies and cross-references are established between
|
|
57
|
-
* documentation elements.
|
|
58
|
-
*/
|
|
59
18
|
create(): void;
|
|
60
|
-
/**
|
|
61
|
-
* Creates view model objects from the parsed Doxygen compound definitions.
|
|
62
|
-
*
|
|
63
|
-
* @remarks
|
|
64
|
-
* Iterates through all compound definitions from the data model and creates
|
|
65
|
-
* corresponding view model objects, organising them into appropriate
|
|
66
|
-
* collections and establishing identifier mappings. This method also
|
|
67
|
-
* processes detailed descriptions to extract navigation elements and
|
|
68
|
-
* cross-reference anchors for comprehensive documentation structure.
|
|
69
|
-
*/
|
|
70
19
|
createVieModelObjects(): void;
|
|
71
|
-
/**
|
|
72
|
-
* Recursively finds and processes description identifiers within elements.
|
|
73
|
-
*
|
|
74
|
-
* @remarks
|
|
75
|
-
* Traverses the element hierarchy to locate table of contents items,
|
|
76
|
-
* document sections, and anchors, creating appropriate view model
|
|
77
|
-
* structures for navigation and cross-referencing. This recursive processing
|
|
78
|
-
* ensures comprehensive extraction of all navigational elements from
|
|
79
|
-
* complex documentation structures.
|
|
80
|
-
*
|
|
81
|
-
* @param compound - The compound containing the description elements.
|
|
82
|
-
* @param element - The data model element to process recursively.
|
|
83
|
-
*/
|
|
84
20
|
findDescriptionIdsRecursively(compound: CompoundBase, element: AbstractDataModelBase): void;
|
|
85
|
-
/**
|
|
86
|
-
* Establishes hierarchical relationships between compound objects.
|
|
87
|
-
*
|
|
88
|
-
* @remarks
|
|
89
|
-
* Delegates to each collection to create parent-child relationships
|
|
90
|
-
* and other hierarchical structures within the compound objects. This
|
|
91
|
-
* phase is essential for building proper navigation trees and inheritance
|
|
92
|
-
* relationships that reflect the original code structure.
|
|
93
|
-
*/
|
|
94
21
|
createCompoundsHierarchies(): void;
|
|
95
|
-
/**
|
|
96
|
-
* Performs late initialisation of compound objects.
|
|
97
|
-
*
|
|
98
|
-
* @remarks
|
|
99
|
-
* Executes initialisation tasks that require all objects to be created
|
|
100
|
-
* first, allowing for proper cross-reference resolution and relationship
|
|
101
|
-
* establishment between compounds. This phase ensures that complex
|
|
102
|
-
* inter-compound dependencies are properly resolved after the initial
|
|
103
|
-
* object creation phase.
|
|
104
|
-
*/
|
|
105
22
|
initializeCompoundsLate(): void;
|
|
106
|
-
/**
|
|
107
|
-
* Creates a comprehensive map of all member definitions.
|
|
108
|
-
*
|
|
109
|
-
* @remarks
|
|
110
|
-
* Iterates through all compounds and their sections to build a complete
|
|
111
|
-
* mapping of member identifiers to their objects, enabling efficient
|
|
112
|
-
* member lookup and cross-referencing. This method handles member
|
|
113
|
-
* deduplication and ensures that members are properly associated with
|
|
114
|
-
* their containing compounds.
|
|
115
|
-
*/
|
|
116
23
|
createMembersMap(): void;
|
|
117
|
-
/**
|
|
118
|
-
* Performs late initialisation of member objects.
|
|
119
|
-
*
|
|
120
|
-
* @remarks
|
|
121
|
-
* Executes member initialisation tasks that depend on all objects being
|
|
122
|
-
* created, ensuring proper cross-references and relationships are
|
|
123
|
-
* established between members and their containing compounds. This phase
|
|
124
|
-
* completes the member setup process after all structural relationships
|
|
125
|
-
* have been established.
|
|
126
|
-
*/
|
|
127
24
|
initializeMemberLate(): void;
|
|
128
|
-
/**
|
|
129
|
-
* Validates and resolves permalink uniqueness across all compounds.
|
|
130
|
-
*
|
|
131
|
-
* @remarks
|
|
132
|
-
* Ensures that all generated permalinks are unique by detecting conflicts
|
|
133
|
-
* and automatically appending suffixes to duplicate permalinks, maintaining
|
|
134
|
-
* proper navigation and linking functionality. This validation process is
|
|
135
|
-
* crucial for preventing URL conflicts in the generated documentation site.
|
|
136
|
-
*/
|
|
137
|
-
/**
|
|
138
|
-
* @brief Validate the uniqueness of permalinks.
|
|
139
|
-
*/
|
|
140
25
|
validatePermalinks(): void;
|
|
141
|
-
/**
|
|
142
|
-
* Performs cleanup operations on view model objects.
|
|
143
|
-
*
|
|
144
|
-
* @remarks
|
|
145
|
-
* Removes references to the original compound definition data models
|
|
146
|
-
* to free memory and prevent potential circular references after
|
|
147
|
-
* the view model creation is complete. This cleanup phase optimises
|
|
148
|
-
* memory usage by removing unnecessary data model references that
|
|
149
|
-
* are no longer needed for documentation generation.
|
|
150
|
-
*/
|
|
151
26
|
cleanups(): void;
|
|
152
27
|
}
|
|
153
28
|
//# sourceMappingURL=view-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-model.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/view-model/view-model.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,0BAA0B,CAAA;AAGjC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAQxC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"view-model.d.ts","sourceRoot":"","sources":["../../../src/docusaurus/view-model/view-model.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,0BAA0B,CAAA;AAGjC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAQxC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAiB9C,qBAAa,SAAS;IAEpB,OAAO,EAAE,UAAU,CAAA;IAGnB,SAAS,EAAE,SAAS,CAAA;IAKpB,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IAIxC,aAAa,4BAAkC;IAG/C,WAAW,sBAA4B;IAGvC,mBAAmB,EAAE,kBAAkB,EAAE,CAAK;IAG9C,uBAAuB,kCAAwC;IAG/D,sBAAsB,iCAAuC;gBAajD,SAAS,EAAE,SAAS;IAiBhC,MAAM;IAiCN,qBAAqB,IAAI,IAAI;IAmE7B,6BAA6B,CAC3B,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,qBAAqB,GAC7B,IAAI;IAmDP,0BAA0B,IAAI,IAAI;IA0BlC,uBAAuB,IAAI,IAAI;IA8B/B,gBAAgB,IAAI,IAAI;IAwDxB,oBAAoB,IAAI,IAAI;IAyC5B,kBAAkB,IAAI,IAAI;IAqF1B,QAAQ,IAAI,IAAI;CAKjB"}
|
|
@@ -1,14 +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
1
|
import assert from 'node:assert';
|
|
13
2
|
import { AbstractCompoundDefType } from '../../doxygen/data-model/compounds/compounddef-dm.js';
|
|
14
3
|
import { TocItemDataModel, TocListDataModel, } from '../../doxygen/data-model/compounds/tableofcontentstype-dm.js';
|
|
@@ -22,68 +11,25 @@ import { Namespaces } from './namespaces-vm.js';
|
|
|
22
11
|
import { Pages } from './pages-vm.js';
|
|
23
12
|
import { AbstractDocAnchorType, AbstractDocSectType, } from '../../doxygen/data-model/compounds/descriptiontype-dm.js';
|
|
24
13
|
import { stripPermalinkHexAnchor } from '../utils.js';
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* View model that organises data for documentation generation.
|
|
28
|
-
*
|
|
29
|
-
* @remarks
|
|
30
|
-
* The ViewModel class transforms the raw Doxygen data model into structured
|
|
31
|
-
* collections suitable for generating Docusaurus documentation, including
|
|
32
|
-
* classes, files, namespaces, and other compound types. It coordinates the
|
|
33
|
-
* entire view model creation process, from object instantiation through
|
|
34
|
-
* hierarchy establishment to cross-reference resolution.
|
|
35
|
-
*
|
|
36
|
-
* @public
|
|
37
|
-
*/
|
|
14
|
+
import { Concepts } from './concepts-vm.js';
|
|
38
15
|
export class ViewModel {
|
|
39
|
-
/** Configuration options controlling the view model behaviour. */
|
|
40
16
|
options;
|
|
41
|
-
/** Reference to the parent workspace containing the data model. */
|
|
42
17
|
workspace;
|
|
43
|
-
/** Map of collection names to their corresponding collection objects. */
|
|
44
|
-
// The key is one of the above collection names.
|
|
45
|
-
// groups, classes, namespaces, files, pages.
|
|
46
18
|
collections;
|
|
47
|
-
/** Map of compound identifiers to their view model objects. */
|
|
48
|
-
// View model objects.
|
|
49
19
|
compoundsById = new Map();
|
|
50
|
-
/** Map of member identifiers to their view model objects. */
|
|
51
20
|
membersById = new Map();
|
|
52
|
-
/** Array of description table of contents lists for navigation. */
|
|
53
21
|
descriptionTocLists = [];
|
|
54
|
-
/** Map of TOC item identifiers to their corresponding objects. */
|
|
55
22
|
descriptionTocItemsById = new Map();
|
|
56
|
-
/** Map of description anchor identifiers to their objects. */
|
|
57
23
|
descriptionAnchorsById = new Map();
|
|
58
|
-
/**
|
|
59
|
-
* Constructs a new ViewModel instance.
|
|
60
|
-
*
|
|
61
|
-
* @remarks
|
|
62
|
-
* Initialises the view model with a reference to the parent workspace
|
|
63
|
-
* and sets up the collection mapping structure. This constructor prepares
|
|
64
|
-
* the foundation for transforming raw Doxygen data into organised
|
|
65
|
-
* documentation structures suitable for Docusaurus generation.
|
|
66
|
-
*
|
|
67
|
-
* @param workspace - The parent workspace containing the data model.
|
|
68
|
-
*/
|
|
69
24
|
constructor(workspace) {
|
|
70
25
|
this.workspace = workspace;
|
|
71
26
|
this.options = workspace.options;
|
|
72
27
|
this.collections = new Map();
|
|
73
28
|
}
|
|
74
|
-
/**
|
|
75
|
-
* Creates and populates all view model collections and objects.
|
|
76
|
-
*
|
|
77
|
-
* @remarks
|
|
78
|
-
* Orchestrates the complete view model creation process including
|
|
79
|
-
* collection instantiation, object creation, and hierarchy establishment.
|
|
80
|
-
* This method coordinates all phases of view model construction to ensure
|
|
81
|
-
* proper dependencies and cross-references are established between
|
|
82
|
-
* documentation elements.
|
|
83
|
-
*/
|
|
84
29
|
create() {
|
|
85
30
|
this.collections.set('groups', new Groups(this.workspace));
|
|
86
31
|
this.collections.set('namespaces', new Namespaces(this.workspace));
|
|
32
|
+
this.collections.set('concepts', new Concepts(this.workspace));
|
|
87
33
|
this.collections.set('classes', new Classes(this.workspace));
|
|
88
34
|
this.collections.set('files', new FilesAndFolders(this.workspace));
|
|
89
35
|
this.collections.set('pages', new Pages(this.workspace));
|
|
@@ -95,17 +41,6 @@ export class ViewModel {
|
|
|
95
41
|
this.validatePermalinks();
|
|
96
42
|
this.cleanups();
|
|
97
43
|
}
|
|
98
|
-
// --------------------------------------------------------------------------
|
|
99
|
-
/**
|
|
100
|
-
* Creates view model objects from the parsed Doxygen compound definitions.
|
|
101
|
-
*
|
|
102
|
-
* @remarks
|
|
103
|
-
* Iterates through all compound definitions from the data model and creates
|
|
104
|
-
* corresponding view model objects, organising them into appropriate
|
|
105
|
-
* collections and establishing identifier mappings. This method also
|
|
106
|
-
* processes detailed descriptions to extract navigation elements and
|
|
107
|
-
* cross-reference anchors for comprehensive documentation structure.
|
|
108
|
-
*/
|
|
109
44
|
createVieModelObjects() {
|
|
110
45
|
console.log('Creating view model objects...');
|
|
111
46
|
for (const compoundDefDataModel of this.workspace.dataModel.compoundDefs) {
|
|
@@ -114,14 +49,11 @@ export class ViewModel {
|
|
|
114
49
|
const collectionName = this.workspace.collectionNamesByKind[kind];
|
|
115
50
|
const collection = this.collections.get(collectionName);
|
|
116
51
|
if (collection !== undefined) {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
// )
|
|
52
|
+
if (this.options.debug) {
|
|
53
|
+
console.log(compoundDefDataModel.kind, compoundDefDataModel.compoundName);
|
|
54
|
+
}
|
|
121
55
|
compound = collection.addChild(compoundDefDataModel);
|
|
122
|
-
// Also add it to the global compounds map.
|
|
123
56
|
this.compoundsById.set(compound.id, compound);
|
|
124
|
-
// console.log('compoundsById.set', compound.kind, compound.id)
|
|
125
57
|
}
|
|
126
58
|
if (compound !== undefined) {
|
|
127
59
|
if (compoundDefDataModel instanceof AbstractCompoundDefType &&
|
|
@@ -130,39 +62,20 @@ export class ViewModel {
|
|
|
130
62
|
}
|
|
131
63
|
}
|
|
132
64
|
else {
|
|
133
|
-
// console.error(
|
|
134
|
-
// util.inspect(compoundDefDataModel, { compact: false, depth: 999 })
|
|
135
|
-
// )
|
|
136
65
|
console.error('compoundDefDataModel', compoundDefDataModel.kind, 'not implemented yet in', this.constructor.name, 'createVieModelObjects');
|
|
137
66
|
}
|
|
138
67
|
}
|
|
139
68
|
if (this.options.verbose) {
|
|
140
69
|
console.log(this.compoundsById.size, 'compound definitions');
|
|
141
70
|
}
|
|
142
|
-
// console.log(this.descriptionTocLists)
|
|
143
71
|
}
|
|
144
|
-
/**
|
|
145
|
-
* Recursively finds and processes description identifiers within elements.
|
|
146
|
-
*
|
|
147
|
-
* @remarks
|
|
148
|
-
* Traverses the element hierarchy to locate table of contents items,
|
|
149
|
-
* document sections, and anchors, creating appropriate view model
|
|
150
|
-
* structures for navigation and cross-referencing. This recursive processing
|
|
151
|
-
* ensures comprehensive extraction of all navigational elements from
|
|
152
|
-
* complex documentation structures.
|
|
153
|
-
*
|
|
154
|
-
* @param compound - The compound containing the description elements.
|
|
155
|
-
* @param element - The data model element to process recursively.
|
|
156
|
-
*/
|
|
157
72
|
findDescriptionIdsRecursively(compound, element) {
|
|
158
|
-
// console.log(compound.id, typeof element)
|
|
159
73
|
if (element.children === undefined) {
|
|
160
74
|
return;
|
|
161
75
|
}
|
|
162
76
|
for (const childDataModel of element.children) {
|
|
163
77
|
if (childDataModel instanceof TocListDataModel) {
|
|
164
78
|
const tocList = new DescriptionTocList(compound);
|
|
165
|
-
// console.log(elementChild)
|
|
166
79
|
assert(childDataModel.tocItems !== undefined);
|
|
167
80
|
for (const tocItemDataModel of childDataModel.tocItems) {
|
|
168
81
|
if (tocItemDataModel instanceof TocItemDataModel) {
|
|
@@ -181,55 +94,31 @@ export class ViewModel {
|
|
|
181
94
|
this.findDescriptionIdsRecursively(compound, childDataModel);
|
|
182
95
|
}
|
|
183
96
|
else if (childDataModel instanceof AbstractDocAnchorType) {
|
|
184
|
-
// console.log(childDataModel)
|
|
185
97
|
if (childDataModel.id.length > 0) {
|
|
186
98
|
const section = new DescriptionAnchor(compound, childDataModel.id);
|
|
187
99
|
this.descriptionAnchorsById.set(section.id, section);
|
|
188
100
|
}
|
|
189
101
|
}
|
|
190
102
|
else if (childDataModel instanceof AbstractDataModelBase) {
|
|
191
|
-
// if (childDataModel instanceof AbstractDocEntryType) {
|
|
192
|
-
// console.log(childDataModel)
|
|
193
|
-
// }
|
|
194
103
|
this.findDescriptionIdsRecursively(compound, childDataModel);
|
|
195
104
|
}
|
|
196
105
|
}
|
|
197
106
|
}
|
|
198
|
-
// --------------------------------------------------------------------------
|
|
199
|
-
/**
|
|
200
|
-
* Establishes hierarchical relationships between compound objects.
|
|
201
|
-
*
|
|
202
|
-
* @remarks
|
|
203
|
-
* Delegates to each collection to create parent-child relationships
|
|
204
|
-
* and other hierarchical structures within the compound objects. This
|
|
205
|
-
* phase is essential for building proper navigation trees and inheritance
|
|
206
|
-
* relationships that reflect the original code structure.
|
|
207
|
-
*/
|
|
208
107
|
createCompoundsHierarchies() {
|
|
108
|
+
if (this.options.verbose) {
|
|
109
|
+
console.log();
|
|
110
|
+
}
|
|
209
111
|
console.log('Creating compounds hierarchies...');
|
|
210
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
211
112
|
for (const [collectionName, collection] of this.collections) {
|
|
212
|
-
// console.log('createHierarchies:', collectionName)
|
|
213
113
|
collection.createCompoundsHierarchies();
|
|
214
114
|
}
|
|
215
115
|
}
|
|
216
|
-
// --------------------------------------------------------------------------
|
|
217
|
-
/**
|
|
218
|
-
* Performs late initialisation of compound objects.
|
|
219
|
-
*
|
|
220
|
-
* @remarks
|
|
221
|
-
* Executes initialisation tasks that require all objects to be created
|
|
222
|
-
* first, allowing for proper cross-reference resolution and relationship
|
|
223
|
-
* establishment between compounds. This phase ensures that complex
|
|
224
|
-
* inter-compound dependencies are properly resolved after the initial
|
|
225
|
-
* object creation phase.
|
|
226
|
-
*/
|
|
227
|
-
// Required since references can be resolved only after all objects are in.
|
|
228
116
|
initializeCompoundsLate() {
|
|
117
|
+
if (this.options.verbose) {
|
|
118
|
+
console.log();
|
|
119
|
+
}
|
|
229
120
|
console.log('Performing compounds late initializations...');
|
|
230
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
231
121
|
for (const [collectionName, collection] of this.collections) {
|
|
232
|
-
// console.log('createHierarchies:', collectionName)
|
|
233
122
|
for (const [, compound] of collection.collectionCompoundsById) {
|
|
234
123
|
if (this.options.debug) {
|
|
235
124
|
console.log(compound.kind, compound.compoundName);
|
|
@@ -238,35 +127,19 @@ export class ViewModel {
|
|
|
238
127
|
}
|
|
239
128
|
}
|
|
240
129
|
}
|
|
241
|
-
// --------------------------------------------------------------------------
|
|
242
|
-
/**
|
|
243
|
-
* Creates a comprehensive map of all member definitions.
|
|
244
|
-
*
|
|
245
|
-
* @remarks
|
|
246
|
-
* Iterates through all compounds and their sections to build a complete
|
|
247
|
-
* mapping of member identifiers to their objects, enabling efficient
|
|
248
|
-
* member lookup and cross-referencing. This method handles member
|
|
249
|
-
* deduplication and ensures that members are properly associated with
|
|
250
|
-
* their containing compounds.
|
|
251
|
-
*/
|
|
252
130
|
createMembersMap() {
|
|
131
|
+
if (this.options.verbose) {
|
|
132
|
+
console.log();
|
|
133
|
+
}
|
|
253
134
|
console.log('Creating member definitions map...');
|
|
254
135
|
for (const [, compound] of this.compoundsById) {
|
|
255
|
-
// console.log(compound.kind, compound.compoundName, compound.id)
|
|
256
136
|
for (const section of compound.sections) {
|
|
257
|
-
// console.log(' ', sectionDef.kind)
|
|
258
137
|
for (const member of section.indexMembers) {
|
|
259
138
|
if (member instanceof Member) {
|
|
260
139
|
const memberCompoundId = stripPermalinkHexAnchor(member.id);
|
|
261
140
|
if (memberCompoundId !== compound.id) {
|
|
262
|
-
// Skip member definitions from different compounds.
|
|
263
|
-
// Hopefully they are defined properly there.
|
|
264
|
-
// console.log(
|
|
265
|
-
// 'member from another compound', compoundId, 'skipped'
|
|
266
|
-
// )
|
|
267
141
|
}
|
|
268
142
|
else {
|
|
269
|
-
// console.log(' ', memberDef.kind, memberDef.id)
|
|
270
143
|
if (this.membersById.has(member.id)) {
|
|
271
144
|
if (this.options.verbose) {
|
|
272
145
|
console.warn('member already in map', member.id, 'in', this.membersById.get(member.id)?.name);
|
|
@@ -284,19 +157,10 @@ export class ViewModel {
|
|
|
284
157
|
console.log(this.membersById.size, 'member definitions');
|
|
285
158
|
}
|
|
286
159
|
}
|
|
287
|
-
// --------------------------------------------------------------------------
|
|
288
|
-
/**
|
|
289
|
-
* Performs late initialisation of member objects.
|
|
290
|
-
*
|
|
291
|
-
* @remarks
|
|
292
|
-
* Executes member initialisation tasks that depend on all objects being
|
|
293
|
-
* created, ensuring proper cross-references and relationships are
|
|
294
|
-
* established between members and their containing compounds. This phase
|
|
295
|
-
* completes the member setup process after all structural relationships
|
|
296
|
-
* have been established.
|
|
297
|
-
*/
|
|
298
|
-
// Required since references can be resolved only after all objects are in.
|
|
299
160
|
initializeMemberLate() {
|
|
161
|
+
if (this.options.verbose) {
|
|
162
|
+
console.log();
|
|
163
|
+
}
|
|
300
164
|
console.log('Performing members late initializations...');
|
|
301
165
|
for (const [, compound] of this.compoundsById) {
|
|
302
166
|
if (this.options.debug) {
|
|
@@ -318,27 +182,14 @@ export class ViewModel {
|
|
|
318
182
|
}
|
|
319
183
|
}
|
|
320
184
|
}
|
|
321
|
-
// --------------------------------------------------------------------------
|
|
322
|
-
/**
|
|
323
|
-
* Validates and resolves permalink uniqueness across all compounds.
|
|
324
|
-
*
|
|
325
|
-
* @remarks
|
|
326
|
-
* Ensures that all generated permalinks are unique by detecting conflicts
|
|
327
|
-
* and automatically appending suffixes to duplicate permalinks, maintaining
|
|
328
|
-
* proper navigation and linking functionality. This validation process is
|
|
329
|
-
* crucial for preventing URL conflicts in the generated documentation site.
|
|
330
|
-
*/
|
|
331
|
-
/**
|
|
332
|
-
* @brief Validate the uniqueness of permalinks.
|
|
333
|
-
*/
|
|
334
185
|
validatePermalinks() {
|
|
186
|
+
if (this.options.verbose) {
|
|
187
|
+
console.log();
|
|
188
|
+
}
|
|
335
189
|
console.log('Validating permalinks...');
|
|
336
190
|
const pagePermalinksById = new Map();
|
|
337
191
|
const compoundsByPermalink = new Map();
|
|
338
192
|
for (const compoundDefDataModel of this.workspace.dataModel.compoundDefs) {
|
|
339
|
-
// console.log(
|
|
340
|
-
// compoundDefDataModel.kind, compoundDefDataModel.compoundName
|
|
341
|
-
// )
|
|
342
193
|
const { id } = compoundDefDataModel;
|
|
343
194
|
if (pagePermalinksById.has(id)) {
|
|
344
195
|
console.warn('Duplicate id', id);
|
|
@@ -350,7 +201,6 @@ export class ViewModel {
|
|
|
350
201
|
}
|
|
351
202
|
const permalink = compound.relativePermalink;
|
|
352
203
|
if (permalink !== undefined) {
|
|
353
|
-
// console.log('permalink:', permalink)
|
|
354
204
|
let compoundsMap = compoundsByPermalink.get(permalink);
|
|
355
205
|
if (compoundsMap === undefined) {
|
|
356
206
|
compoundsMap = new Map();
|
|
@@ -382,22 +232,10 @@ export class ViewModel {
|
|
|
382
232
|
}
|
|
383
233
|
}
|
|
384
234
|
}
|
|
385
|
-
// --------------------------------------------------------------------------
|
|
386
|
-
/**
|
|
387
|
-
* Performs cleanup operations on view model objects.
|
|
388
|
-
*
|
|
389
|
-
* @remarks
|
|
390
|
-
* Removes references to the original compound definition data models
|
|
391
|
-
* to free memory and prevent potential circular references after
|
|
392
|
-
* the view model creation is complete. This cleanup phase optimises
|
|
393
|
-
* memory usage by removing unnecessary data model references that
|
|
394
|
-
* are no longer needed for documentation generation.
|
|
395
|
-
*/
|
|
396
235
|
cleanups() {
|
|
397
236
|
for (const [, compound] of this.compoundsById) {
|
|
398
237
|
compound._private._compoundDef = undefined;
|
|
399
238
|
}
|
|
400
239
|
}
|
|
401
240
|
}
|
|
402
|
-
// ----------------------------------------------------------------------------
|
|
403
241
|
//# sourceMappingURL=view-model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-model.js","sourceRoot":"","sources":["../../../src/docusaurus/view-model/view-model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"view-model.js","sourceRoot":"","sources":["../../../src/docusaurus/view-model/view-model.ts"],"names":[],"mappings":"AAaA,OAAO,MAAM,MAAM,aAAa,CAAA;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAA;AAC9F,OAAO,EACL,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,8DAA8D,CAAA;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AAEzE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAGzC,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CA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