From a6d4767d502cbe54ae13c3f797dd7fb0f9c9802c Mon Sep 17 00:00:00 2001 From: Jake Shirley Date: Mon, 26 Oct 2026 13:33:39 -0700 Subject: [PATCH 1/2] fix: Updated script module files to only contain 1 H1 --- .../templates/msdocs/script/module.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/markup-generators-plugin/templates/msdocs/script/module.mustache b/tools/markup-generators-plugin/templates/msdocs/script/module.mustache index 496e0470..995bc797 100644 --- a/tools/markup-generators-plugin/templates/msdocs/script/module.mustache +++ b/tools/markup-generators-plugin/templates/msdocs/script/module.mustache @@ -68,7 +68,7 @@ The following API versions are from a major version that is documented here: {{{ {{/enums.length}} {{#type_aliases.length}} -# Type Aliases +## Type Aliases {{#type_aliases}} - [{{{name}}}]({{{name}}}.md) {{/type_aliases}} From e52afb921f75c66fda43f09b295fd443317a870c Mon Sep 17 00:00:00 2001 From: Jake Shirley Date: Mon, 26 Oct 2026 13:45:15 -0700 Subject: [PATCH 2/2] Fixed tests --- .../__snapshots__/changelogDiffing.spec.ts.snap | 6 +++--- .../hybrid_script_native_module.spec.ts.snap | 8 ++++---- .../__snapshots__/script_generated_module.spec.ts.snap | 2 +- .../test/type_maps/__snapshots__/typeMaps.spec.ts.snap | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/api-docs-generator-test-snapshots/test/changelog_diffing/__snapshots__/changelogDiffing.spec.ts.snap b/tools/api-docs-generator-test-snapshots/test/changelog_diffing/__snapshots__/changelogDiffing.spec.ts.snap index 4514e6c4..40144ce2 100644 --- a/tools/api-docs-generator-test-snapshots/test/changelog_diffing/__snapshots__/changelogDiffing.spec.ts.snap +++ b/tools/api-docs-generator-test-snapshots/test/changelog_diffing/__snapshots__/changelogDiffing.spec.ts.snap @@ -2846,7 +2846,7 @@ const baz = \`Foo is "\${foo}"\`; ## Enumerations - [TestEnum](TestEnum.md) -# Type Aliases +## Type Aliases - [ChangedType](ChangedType.md) - [ChangedTypeMap](ChangedTypeMap.md) - [RemovedType](RemovedType.md) @@ -3159,7 +3159,7 @@ This is version 1.x.x of this module, which is the latest as of version 1.0.0 of ## Available Versions - \`1.0.0\` -# Type Aliases +## Type Aliases - [TypeAliasFromPeerDependency](TypeAliasFromPeerDependency.md) " `; @@ -3842,7 +3842,7 @@ The following API versions are from a major version that is documented here: [*t - [AddedEnum](AddedEnum.md) - [TestEnum](TestEnum.md) -# Type Aliases +## Type Aliases - [AddedType](AddedType.md) - [ChangedType](ChangedType.md) - [ChangedTypeMap](ChangedTypeMap.md) diff --git a/tools/api-docs-generator-test-snapshots/test/hybrid_script_native_module/__snapshots__/hybrid_script_native_module.spec.ts.snap b/tools/api-docs-generator-test-snapshots/test/hybrid_script_native_module/__snapshots__/hybrid_script_native_module.spec.ts.snap index 5d724ed4..bf33cd00 100644 --- a/tools/api-docs-generator-test-snapshots/test/hybrid_script_native_module/__snapshots__/hybrid_script_native_module.spec.ts.snap +++ b/tools/api-docs-generator-test-snapshots/test/hybrid_script_native_module/__snapshots__/hybrid_script_native_module.spec.ts.snap @@ -64,7 +64,7 @@ description: Contents of the hybrid-module module (Version 0.x.x) ## Available Versions - \`0.1.0\` -# Type Aliases +## Type Aliases - [TypeAliasWithTSDocComments](TypeAliasWithTSDocComments.md) ## Functions @@ -317,7 +317,7 @@ This is version 1.x.x of this module, which is the latest as of version 1.0.0 of ## Enumerations - [ScriptGeneratedEnum](ScriptGeneratedEnum.md) -# Type Aliases +## Type Aliases - [TypeAliasWithInfoJsonComments](TypeAliasWithInfoJsonComments.md) - [TypeAliasWithTSDocComments](TypeAliasWithTSDocComments.md) @@ -1357,7 +1357,7 @@ description: Contents of the hybrid-module module (Version 0.x.x) ## Available Versions - \`0.1.0\` -# Type Aliases +## Type Aliases - [TypeAliasWithTSDocComments](TypeAliasWithTSDocComments.md) ## Functions @@ -1573,7 +1573,7 @@ This is version 1.x.x of this module, which is the latest as of version 1.0.0 of ## Enumerations - [ScriptGeneratedEnum](ScriptGeneratedEnum.md) -# Type Aliases +## Type Aliases - [TypeAliasWithInfoJsonComments](TypeAliasWithInfoJsonComments.md) - [TypeAliasWithTSDocComments](TypeAliasWithTSDocComments.md) diff --git a/tools/api-docs-generator-test-snapshots/test/script_generated_module/__snapshots__/script_generated_module.spec.ts.snap b/tools/api-docs-generator-test-snapshots/test/script_generated_module/__snapshots__/script_generated_module.spec.ts.snap index 4e77c20e..5e4df235 100644 --- a/tools/api-docs-generator-test-snapshots/test/script_generated_module/__snapshots__/script_generated_module.spec.ts.snap +++ b/tools/api-docs-generator-test-snapshots/test/script_generated_module/__snapshots__/script_generated_module.spec.ts.snap @@ -188,7 +188,7 @@ This is version 1.x.x of this module, which is the latest as of version 1.0.0 of ## Enumerations - [ScriptGeneratedEnum](ScriptGeneratedEnum.md) -# Type Aliases +## Type Aliases - [TypeAliasWithInfoJsonComments](TypeAliasWithInfoJsonComments.md) - [TypeAliasWithTSDocComments](TypeAliasWithTSDocComments.md) diff --git a/tools/api-docs-generator-test-snapshots/test/type_maps/__snapshots__/typeMaps.spec.ts.snap b/tools/api-docs-generator-test-snapshots/test/type_maps/__snapshots__/typeMaps.spec.ts.snap index c5db48fa..ae27e12d 100644 --- a/tools/api-docs-generator-test-snapshots/test/type_maps/__snapshots__/typeMaps.spec.ts.snap +++ b/tools/api-docs-generator-test-snapshots/test/type_maps/__snapshots__/typeMaps.spec.ts.snap @@ -91,7 +91,7 @@ This is version 1.x.x of this module, which is the latest as of version 1.0.0 of ## Available Versions - \`1.0.0\` -# Type Aliases +## Type Aliases - [TestTypeMap](TestTypeMap.md) - [TestTypeMapUnion](TestTypeMapUnion.md) " @@ -189,7 +189,7 @@ This is version 1.x.x of this module, which is the latest as of version 1.0.0 of ## Available Versions - \`1.0.0\` -# Type Aliases +## Type Aliases - [TestComponentTypeMap](TestComponentTypeMap.md) ## Classes