Skip to content

Commit 4d460c7

Browse files
authored
Don't allow edits to System.CommandLine docs (#11999)
1 parent 0bf6deb commit 4d460c7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/policies/disallow-edits.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ configuration:
1919
excludedFiles:
2020
- xml/Microsoft.Extensions.FileSystemGlobbing/*
2121
- xml/Microsoft.Extensions.FileSystemGlobbing.*/*
22+
- filesMatchPattern:
23+
matchAny: true
24+
pattern: xml/System.CommandLine*/*
2225
- filesMatchPattern:
2326
matchAny: true
2427
pattern: xml/System.Composition/*

docfx.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
"ms.topic": {
148148
"api/Microsoft.Extensions**": "generated-reference",
149149
"api/Microsoft.Extensions.FileSystemGlobbing**": "reference",
150+
"api/System.CommandLine**": "generated-reference",
150151
"api/System.Composition**": "generated-reference",
151152
"api/System.Diagnostics.EventLog.Messages**": "generated-reference",
152153
"api/System.Formats.Asn1**": "generated-reference",
@@ -163,18 +164,20 @@
163164
},
164165
"open_to_public_contributors": {
165166
"api/Microsoft.Extensions**": false,
167+
"api/System.CommandLine**": false,
166168
"api/System.Composition**": false,
167169
"api/System.Diagnostics.EventLog.Messages**": false,
168170
"api/System.Formats.Asn1**": false,
169171
"api/System.Formats.Cbor**": false,
170172
"api/System.Formats.Nrbf**": false,
171-
"api/System.Linq.AsyncEnumerable.yml": false,
172-
"api/System.Linq.IOrderedAsyncEnumerable-1.yml": false,
173173
"api/System.Net.ServerSentEvents**": false,
174174
"api/System.Numerics.Tensors**": false,
175+
"api/System.Runtime.Serialization.Schema**": false,
176+
177+
"api/System.Linq.AsyncEnumerable.yml": false,
178+
"api/System.Linq.IOrderedAsyncEnumerable-1.yml": false,
175179
"api/System.Runtime.Serialization.ISerializationCodeDomSurrogateProvider.yml": false,
176180
"api/System.Runtime.Serialization.ImportOptions.yml": false,
177-
"api/System.Runtime.Serialization.Schema**": false,
178181
"api/System.Runtime.Serialization.XsdDataContractExporter.yml": false
179182
}
180183
},

0 commit comments

Comments
 (0)