From 46e69dcaa4985f3b3ddcf5c2ff2fcdd7a7c94ccb Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Thu, 31 Aug 2023 13:51:23 -0400 Subject: [PATCH 1/2] only include specified C# 12 speclets To avoid build warnings, only include the currently published C# 12 speclets in the build, rather than all speclets. See #36932 for when this should be reverted. --- docfx.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docfx.json b/docfx.json index 7511604bc3b64..6be1e4d1740b8 100644 --- a/docfx.json +++ b/docfx.json @@ -51,7 +51,11 @@ "csharp-9.0/*.md", "csharp-10.0/*.md", "csharp-11.0/*.md", - "csharp-12.0/*.md" + "csharp-12.0/primary-constructors.md", + "csharp-12.0/collection-expressions.md", + "csharp-12.0/using-alias-types.md", + "csharp-12.0/lambda-method-group-defaults.md", + "csharp-12.0/inline-arrays.md" ], "src": "_csharplang/proposals", "dest": "csharp/language-reference/proposals", @@ -67,8 +71,7 @@ "csharp-8.0/obsolete-accessor.md", "csharp-8.0/shadowing-in-nested-functions.md", "csharp-8.0/unconstrained-null-coalescing.md", - "csharp-8.0/nullable-reference-types-specification.md", - "csharp-12.0/ref-readonly-parameters.md" + "csharp-8.0/nullable-reference-types-specification.md" ] }, { From 4a4e319f522c2351dca9402f72650b972c4c94a4 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Thu, 31 Aug 2023 14:20:58 -0400 Subject: [PATCH 2/2] add experimental attribute Add the experimental attribute back in. It's not in the TOC yet, but I'll add it shortly. --- docfx.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docfx.json b/docfx.json index 6be1e4d1740b8..7f71d4bc98e49 100644 --- a/docfx.json +++ b/docfx.json @@ -55,7 +55,8 @@ "csharp-12.0/collection-expressions.md", "csharp-12.0/using-alias-types.md", "csharp-12.0/lambda-method-group-defaults.md", - "csharp-12.0/inline-arrays.md" + "csharp-12.0/inline-arrays.md", + "csharp-12.0/experimental-attribute.md" ], "src": "_csharplang/proposals", "dest": "csharp/language-reference/proposals",