Skip to content

Commit 38e44c5

Browse files
authored
Filter in custom System.ComponentModel attributes (#108)
1 parent 2e77186 commit 38e44c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

filter.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ apiRules:
44
uid: System.ObsoleteAttribute
55
- exclude:
66
uidRegex: ^OpenEphys.Onix1.Design
7+
# https://github.com/dotnet/docfx/issues/10173#issuecomment-2430513568
8+
# https://github.com/dotnet/docfx/blob/af68cbdd73b803a010fd8c22ad64148bf6337a8f/src/Docfx.Dotnet/Resources/defaultfilterconfig.yml#L35-L40
9+
attributeRules:
10+
- include: # this is necessary to pull our custom attributes into .yml metadata without disabling default filter
11+
uidRegex: ^System\.ComponentModel\.(CategoryAttribute|DescriptionAttribute)$
12+
type: Type

0 commit comments

Comments
 (0)