DocFX Version Used 2.22.2.0
Template used: default
Steps to Reproduce:
Trying to exclude a specific class from being included, so I have added to docfx.json the filter option:
],
"dest": "api",
"filter": "filterConfig.yml"
}
Inside the filerConfig.yml, I have tried two different ways.
- Using uidRegex on the namespace and class name
- Also by attribute as I added [Obsolete] before the class
Expected Behavior:
I expect the class CRCdelme not to be included in the documentation, it seems that the filterConfig.yml is being opening but the excludes are not happening!
Actual Behavior:
The class is included in the index and is documented in the _Site directory
filterConfig.yml
apiRules:
- exclude:
uidRegex: '^FpAssistantCore\.BusinessObjects\.GeneralAviation\.CRCdelme$'
type: Class
- exclude:
hasAttribute:
uid: System.ObsoleteAttribute
type: Member
DocFX Version Used 2.22.2.0
Template used: default
Steps to Reproduce:
Trying to exclude a specific class from being included, so I have added to docfx.json the filter option:
],
"dest": "api",
"filter": "filterConfig.yml"
}
Inside the filerConfig.yml, I have tried two different ways.
Expected Behavior:
I expect the class CRCdelme not to be included in the documentation, it seems that the filterConfig.yml is being opening but the excludes are not happening!
Actual Behavior:
The class is included in the index and is documented in the _Site directory
filterConfig.yml