Skip to content

Addon-docs: Fix story inline rendering #10875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2020
Merged

Conversation

shilman
Copy link
Member

@shilman shilman commented May 22, 2020

Issue: N/A

What I did

This cleans up some old code that existed before prepareForInline was introduced in SB5.3 for handling non-react inline rendering. So it's mostly a maintenance PR.

However, it also fixes a bug that @matheo caught in #10850 that also affects this codepath.

Now all inline rendering is defined by the docs preset or user overrides, and there is no longer any hacky react-specific inference. Technically this is a breaking change but only in the case where you're not using a preset (which at this point, I hope is nobody).

How to test

View Docs tab in official-storybook, angular-cli, vue-kitchen-sink, etc.

@shilman shilman merged commit daada58 into next May 22, 2020
@stof stof deleted the fix/docs-inline-rendering branch May 25, 2022 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant