Have you read the Contributing Guidelines on issues?
Description
Docs should have breadcrumbs in addition to sidebar.
Has this been requested on Canny?
No
Motivation
I've just built this feature for someone: PatelN123/Digital-Support-Notes#1 (That person just wanted the primary category, but I did extract the entire breadcrumb list)
It wasn't quite ergonomic, and I think it would make sense to make itself into the core.
API design
It would be opt-in, something like showBreadcrumbs in the docs plugin. I think we can also set a metadata to help with SEO?
If we don't want an opinionated implementation for the UI component, we can just implement a useBreadCrumbs in theme-common and let users wrap DocItem to implement what they want.
Have you tried building it?
Yes, see that PR for how I did it.
Self-service
Have you read the Contributing Guidelines on issues?
Description
Docs should have breadcrumbs in addition to sidebar.
Has this been requested on Canny?
No
Motivation
I've just built this feature for someone: PatelN123/Digital-Support-Notes#1 (That person just wanted the primary category, but I did extract the entire breadcrumb list)
It wasn't quite ergonomic, and I think it would make sense to make itself into the core.
API design
It would be opt-in, something like
showBreadcrumbsin the docs plugin. I think we can also set a metadata to help with SEO?If we don't want an opinionated implementation for the UI component, we can just implement a
useBreadCrumbsin theme-common and let users wrapDocItemto implement what they want.Have you tried building it?
Yes, see that PR for how I did it.
Self-service