docfx

FilterConfig on Docfx isn't working and stack is asking for more letters on my tittle


Stack is asking for more detail but the info below is more than enough, if something is missing please lemme know

filterConfig.yml

apiRules:
- exclude:
  uidRegex: ClassLibrary1
  type: Namespace

The project

enter image description here

The docfx.json

"metadata": [
    {
      "src": [
        {
          "files": [
            "**/*.csproj"
          ]
        }
      ],
      "dest": "api",
      "filter": "filterConfig.yml"
    }
  ],

The page

enter image description here

Docfx version: 2.75


Solution

  • Try adding at least one more space in the rules nested on the exclude filter. This is due to YAML specification which says:

    Each node must be indented further than its parent node. All sibling nodes must use the exact same indentation level. However the content of each sibling node may be further indented independently.