From 02bab08650e414be6ec539d7f6430d2fe5347b22 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Thu, 31 Aug 2023 14:27:38 -0400 Subject: [PATCH] only include specified C# 12 speclets (#36933) * 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. * add experimental attribute Add the experimental attribute back in. It's not in the TOC yet, but I'll add it shortly. --- docfx.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docfx.json b/docfx.json index d0af78ae9506d..a9f3e0eeb53e7 100644 --- a/docfx.json +++ b/docfx.json @@ -51,7 +51,12 @@ "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", + "csharp-12.0/experimental-attribute.md" ], "src": "_csharplang/proposals", "dest": "csharp/language-reference/proposals", @@ -67,8 +72,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" ] }, {