[ ] Chore (a non-breaking change which is related to package maintenance)
[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
This PR adds a Custom Type field's tab name to its description. Since Shared Slices are generated as a shared type potentially used by multiple Custom Types, Shared Slice fields do not list their tab names.
A field's description looks like this:
/**
* main_title field in *Tabbed Page*
*
* - **Field Type**: Title
* - **Placeholder**: *None*
* - **API ID Path**: tabbed_page.main_title
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/core-concepts/rich-text-title
*/
Note the "Tab" bullet point.
Checklist:
[ ] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
Types of changes
Description
This PR adds a Custom Type field's tab name to its description. Since Shared Slices are generated as a shared type potentially used by multiple Custom Types, Shared Slice fields do not list their tab names.
A field's description looks like this:
Note the "Tab" bullet point.
Checklist: