yari
yari copied to clipboard
refactor(client/utils): improve docCategory()
Summary
Fixes https://github.com/mdn/yari/issues/5637 by refactoring docCategory() and renaming it to getCategoryByPathname().
Screenshots
n/a
How did you test this change?
Not yet tested.
This pull request has merge conflicts that must be resolved before it can be merged.