I have some event handler delegates in my project, and I want to include them into my auto-generated document with docfx.
I know there is a filter option in docfx.json > metadata, but how could I config it? Any ideas?
I have try to add a filterConfig.yml, and modify the docfx.json, no any error, but this doesn't work.
C# code:
/// <summary>
/// Double click on one row of the search result, this should open the detail form of it
/// </summary>
/// <param name="sender">Default_GridView</param>
/// <param name="e">EventArgs</param>
private void Default_GridView_DoubleClick(object sender, EventArgs e)
{
//open the detail form here
}
docfx.json:
{
"metadata": [
{
"src": [
{
"files": [
"*.csproj"
],
"cwd": ".",
"exclude": [
"**/obj/**",
"**/bin/**",
"_site/**"
]
}
],
"dest": "obj/api",
"filter": "filterConfig.yml"
}
],
filterConfig.yml:
apiRules:
- include:
uidRegex: ^System\.EventHandler
type: Type