Skip to content

Commit 7b35d13

Browse files
Filter auto generated apis
1 parent 3168540 commit 7b35d13

File tree

2 files changed

+92
-0
lines changed

2 files changed

+92
-0
lines changed

docs/docfx.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
}
1616
],
1717
"dest": "api",
18+
"filter": "filterConfig.yml",
1819
"disableGitFeatures": false,
1920
"disableDefaultFilter": false
2021
}

docs/filterConfig.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
apiRules:
2+
- exclude:
3+
hasAttribute:
4+
uid: System.ComponentModel.EditorBrowsableAttribute
5+
ctorArguments:
6+
- System.ComponentModel.EditorBrowsableState.Never
7+
- exclude:
8+
uidRegex: ^AltV\.Net\.Alt\.On
9+
type: Method
10+
- exclude:
11+
uidRegex: ^AltV\.Net\.Alt\.Import
12+
type: Method
13+
- exclude:
14+
uidRegex: ^AltV\.Net\.Alt\.Export
15+
type: Method
16+
- exclude:
17+
uidRegex: ^AltV\.Net\.Alt\.Off
18+
type: Method
19+
attributeRules:
20+
- exclude:
21+
uidRegex: ^System\.ComponentModel\.Design$
22+
type: Namespace
23+
- exclude:
24+
uidRegex: ^System\.ComponentModel\.Design\.Serialization$
25+
type: Namespace
26+
- exclude:
27+
uidRegex: ^System\.Xml\.Serialization$
28+
type: Namespace
29+
- exclude:
30+
uidRegex: ^System\.Web\.Compilation$
31+
type: Namespace
32+
- exclude:
33+
uidRegex: ^System\.Runtime\.Versioning$
34+
type: Namespace
35+
- exclude:
36+
uidRegex: ^System\.Runtime\.ConstrainedExecution$
37+
type: Namespace
38+
- exclude:
39+
uidRegex: ^System\.EnterpriseServices$
40+
type: Namespace
41+
- exclude:
42+
uidRegex: ^System\.Diagnostics\.CodeAnalysis$
43+
type: Namespace
44+
- include:
45+
uidRegex: ^System\.Diagnostics\.(ConditionalAttribute|EventLogPermissionAttribute|PerformanceCounterPermissionAttribute)$
46+
type: Type
47+
- exclude:
48+
uidRegex: '^System\.Diagnostics\.[^.]+$'
49+
type: Type
50+
- include:
51+
uidRegex: ^System\.ComponentModel\.(BindableAttribute|BrowsableAttribute|ComplexBindingPropertiesAttribute|DataObjectAttribute|DefaultBindingPropertyAttribute|ListBindableAttribute|LookupBindingPropertiesAttribute|SettingsBindableAttribute|TypeConverterAttribute)$
52+
type: Type
53+
- exclude:
54+
uidRegex: '^System\.ComponentModel\.[^.]+$'
55+
type: Type
56+
- exclude:
57+
uidRegex: ^System\.Reflection\.DefaultMemberAttribute$
58+
type: Type
59+
- exclude:
60+
uidRegex: ^System\.CodeDom\.Compiler\.GeneratedCodeAttribute$
61+
type: Type
62+
- include:
63+
uidRegex: ^System\.Runtime\.CompilerServices\.ExtensionAttribute$
64+
type: Type
65+
- exclude:
66+
uidRegex: '^System\.Runtime\.CompilerServices\.[^.]+$'
67+
type: Type
68+
- include:
69+
uidRegex: ^System\.Runtime\.InteropServices\.(ComVisibleAttribute|GuidAttribute|ClassInterfaceAttribute|InterfaceTypeAttribute)$
70+
type: Type
71+
- exclude:
72+
uidRegex: '^System\.Runtime\.InteropServices\.[^.]+$'
73+
type: Type
74+
- include:
75+
uidRegex: ^System\.Security\.(SecurityCriticalAttribute|SecurityTreatAsSafeAttribute|AllowPartiallyTrustedCallersAttribute)$
76+
type: Type
77+
- exclude:
78+
uidRegex: '^System\.Security\.[^.]+$'
79+
type: Type
80+
- include:
81+
uidRegex: ^System\.Web\.UI\.(ControlValuePropertyAttribute|PersistenceModeAttribute|ValidationPropertyAttribute|WebResourceAttribute|TemplateContainerAttribute|ThemeableAttribute|TemplateInstanceAttribute)$
82+
type: Type
83+
- exclude:
84+
uidRegex: '^System\.Web\.UI\.[^.]+$'
85+
type: Type
86+
- include:
87+
uidRegex: ^System\.Windows\.Markup\.(ConstructorArgumentAttribute|DesignerSerializationOptionsAttribute|ValueSerializerAttribute|XmlnsCompatibleWithAttribute|XmlnsDefinitionAttribute|XmlnsPrefixAttribute)$
88+
type: Type
89+
- exclude:
90+
uidRegex: '^System\.Windows\.Markup\.[^.]+$'
91+
type: Type

0 commit comments

Comments
 (0)