Skip to content
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

Docs: Remove mentions of MDX 2 #25675

Merged
merged 2 commits into from
Jan 22, 2024
Merged

Docs: Remove mentions of MDX 2 #25675

merged 2 commits into from
Jan 22, 2024

Conversation

kylegach
Copy link
Contributor

What I did

  • Remove Breaking changes section
  • Move GFM instructions to Troubleshooting section
  • Remove blockquotes, which render in a huge font

Checklist for Contributors

Testing

Manual testing

  1. Follow the steps in the contributing instructions for this branch, docs-mdx-3

Documentation

  • Add or update documentation reflecting your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Checklist for Maintainers

  • When this PR is ready for testing, make sure to add ci:normal, ci:merged or ci:daily GH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found in code/lib/cli/src/sandbox-templates.ts

  • Make sure this PR contains one of the labels below:

    Available labels
    • bug: Internal changes that fixes incorrect behavior.
    • maintenance: User-facing maintenance tasks.
    • dependencies: Upgrading (sometimes downgrading) dependencies.
    • build: Internal-facing build tooling & test updates. Will not show up in release changelog.
    • cleanup: Minor cleanup style change. Will not show up in release changelog.
    • documentation: Documentation only changes. Will not show up in release changelog.
    • feature request: Introducing a new feature.
    • BREAKING CHANGE: Changes that break compatibility in some way with current major version.
    • other: Changes that don't fit in the above categories.

🦋 Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=<PR_NUMBER>

@kylegach kylegach added documentation ci:docs Run the CI jobs for documentation checks only. labels Jan 19, 2024
@kylegach kylegach self-assigned this Jan 19, 2024
@kylegach kylegach requested a review from JReinhold January 19, 2024 23:59
@kylegach kylegach force-pushed the docs-mdx-3 branch 2 times, most recently from b9b5834 to 33e7269 Compare January 20, 2024 00:02
docs/faq.md Outdated

MDX 2 introduced some changes to how the code is rendered. For example, if you enabled it in your Storybook and you have the following code block:
MDX 2 introduced some changes to how the code is rendered. For example, if you have the following code block:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still mention MDX 2 here. MDX 3 introduced changes too - I wonder if we should make this section more general?

Copy link
Contributor

@jonniebigodes jonniebigodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates on the documentation, @kylegach. All is good on my end. Merge when able.

- Remove Breaking changes section
- Move GFM instructions to Troubleshooting section
- Remove blockquotes, which render in a huge font
@kylegach kylegach merged commit de40da6 into next Jan 22, 2024
18 checks passed
@kylegach kylegach deleted the docs-mdx-3 branch January 22, 2024 17:18
@github-actions github-actions bot mentioned this pull request Jan 22, 2024
14 tasks
@@ -151,70 +151,7 @@ In addition to Doc Blocks, MDX can incorporate arbitrary React components, makin

### Known limitations

While MDX2 supports a variety of runtimes ([React](https://mdxjs.com/packages/react/), [Preact](https://mdxjs.com/packages/preact/), [Vue](https://mdxjs.com/packages/vue/)), Storybook’s implementation is React-only. That means your documentation is rendered in React, while your stories render in the runtime of your choice (React, Vue, Angular, Web Components, Svelte, etc.).

## Breaking changes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this section is still referenced by a link above (see line 124)


<!-- prettier-ignore-end -->

### Lack of GitHub Flavored Markdown (GFM)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is referenced by a migration when running storybook upgrade. Its removal makes things quite confusing.

@jonniebigodes jonniebigodes mentioned this pull request Apr 9, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:docs Run the CI jobs for documentation checks only. documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants