dotnet / docs-tools

This repo contains GitHub Actions and other tools that are designed to be invoked on DocFx repositories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[What's New] Support duplicate folder config entries

BillWagner opened this issue · comments

See dotnet/docs#33826 (comment)

In the .NET config, we have some folders where subfolders are in a different section. As a result, the articles are duplicated.

We need to support that scenario. The rules should be that the "longest" path should win. Namely, a more specific subfolder should be where an article should be located when that matches more than one area.


Associated WorkItem - 62196

I think this is small. I think the config matching code is reasonably clean. If not, this is probably "medium"