You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SB5.2, we introduced the concept of DocsPage slots for customizing the DocsPage.
In 5.3, we introduced docs.x story parameters like docs.prepareForInline which get filled in by frameworks and can also be overwritten by users, which is a more natural/convenient way to make global customizations.
We also introduced introduced Custom DocsPage, which makes it possible to add/remove/update DocBlocks on the page.
These two mechanisms are superior to slots, so we should remove slots as a 6.0 breaking change to simplify the code.
For each slot (title, subtitle, description, primary, props, stories):
Remove slots
Remove documentation
Add migration
The text was updated successfully, but these errors were encountered:
In SB5.2, we introduced the concept of DocsPage slots for customizing the DocsPage.
In 5.3, we introduced
docs.x
story parameters likedocs.prepareForInline
which get filled in by frameworks and can also be overwritten by users, which is a more natural/convenient way to make global customizations.We also introduced introduced Custom DocsPage, which makes it possible to add/remove/update DocBlocks on the page.
These two mechanisms are superior to slots, so we should remove slots as a 6.0 breaking change to simplify the code.
For each slot (
title
,subtitle
,description
,primary
,props
,stories
):The text was updated successfully, but these errors were encountered: