-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
[blog] Share what's changed about the new docs structure #32044
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
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
4d2910a
setting up the post
danilo-leal f2fb2b7
add initial draft
danilo-leal b28a15f
Matt's review and more iteration
danilo-leal 31e43b5
each sentence in a line
danilo-leal e17fa13
typo
danilo-leal c22a3e1
Jun's review
danilo-leal ee7e779
Jun's review
danilo-leal 0af5387
add image and polishing
danilo-leal daa5965
Merge branch 'blog-docs-separation' of https://github.com/danilo-leal…
danilo-leal 8c6b467
Sam's review
danilo-leal 7906008
formatting
danilo-leal c8a07ad
update search experience improvement
siriwatknp 604c4f0
Merge branch 'master' of https://github.com/mui/material-ui into blog…
siriwatknp 53e0e3c
add info about mui x date pickers
siriwatknp 94a6d09
Sam's review on Jun's iteration
danilo-leal 2be9715
kbd styles in the TopBlogLayout
danilo-leal 3b6b94f
update kbd styles through files
danilo-leal f6c736f
add new images
danilo-leal 798c74a
bonus: add image to the date-time component
danilo-leal 9ffe440
tidying up things
danilo-leal 6c9a298
bonus: revamp a bit the rebranding article
danilo-leal d61e9fa
fix test unit
danilo-leal dc083e6
Apply suggestions from code review
siriwatknp f2554f4
put back ".key" in the kbd class
danilo-leal 344d493
have the correct <kbd/> a11y
danilo-leal 2dcda18
minor style change
danilo-leal 72bb25d
add the "product" tag
danilo-leal 6c15442
bump font size in rebranding article figures
danilo-leal 8a8e320
update date-picker image for correct bg color
danilo-leal 1ee9ce1
"promoted" from lab to mui x
danilo-leal 29a9bbd
small fix
danilo-leal 1325971
allow "product" blog tag
danilo-leal 76096e4
small changes on the kbd
danilo-leal 2e2213a
Sam's review
danilo-leal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| import * as React from 'react'; | ||
| import TopLayoutBlog from 'docs/src/modules/components/TopLayoutBlog'; | ||
| import { docs } from './docs-updates.md?@mui/markdown'; | ||
|
|
||
| export default function Page() { | ||
| return <TopLayoutBlog docs={docs} />; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,66 @@ | ||||||
| --- | ||||||
| title: 'Our docs just got a major upgrade—here's what that means for you' | ||||||
| description: Each of MUI's products now has its own dedicated documentation, making it easier than ever to find exactly what you need. | ||||||
| date: 2022-04-06T00:00:00.000Z | ||||||
| authors: ['danilo-leal'] | ||||||
| tags: ['News', 'Product'] | ||||||
| --- | ||||||
|
|
||||||
| As MUI continues to grow beyond our flagship product, Material UI (we [rebranded the company](/blog/material-ui-is-now-mui/) last year as a first step), it has become clear that the documentation for our products can no longer all live under one roof. | ||||||
|
|
||||||
| That's why we're excited to announce that we are shipping a major upgrade to our documentation, to make it easier than ever to find exactly what you need—no matter which MUI products you're working with. | ||||||
|
|
||||||
| ## Wait... what MUI products are you talking about? | ||||||
|
|
||||||
| We currently offer two main product lines: | ||||||
|
|
||||||
| - **MUI Core**—a collection of foundational component libraries, including: | ||||||
| - _Material UI_ —components that implement Google's Material Design | ||||||
| - _MUI Base_ —unstyled components for implementing your own design system | ||||||
| - _MUI System_ —CSS utilities for quickly laying out design systems | ||||||
| - **MUI X**—a collection of advanced components for complex use cases, including: | ||||||
| - _Data Grid_ —fast, feature-rich, extendable React data table | ||||||
| - _Date and Time Pickers_ —interface control components for selecting dates and times | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| ## What has changed? | ||||||
|
|
||||||
| All MUI products still live under the [mui.com](http://mui.com) domain, but each of them now has its own respective URL and documentation. | ||||||
danilo-leal marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
| We added an identifier and menu to the upper-left corner of the docs for improved navigation: | ||||||
|
|
||||||
| <img src="/static/blog/docs-updates/docs-separation.png" style="width: 796px; margin-top: 16px; margin-bottom: 16px;" alt="Screenshot of the product identifier menu" /> | ||||||
|
|
||||||
| As for the URLs, this is how they look now: | ||||||
|
|
||||||
| - MUI Core: | ||||||
| - Material UI: [https://mui.com/material-ui/](https://mui.com/material-ui/getting-started/installation/) | ||||||
| - MUI Base: [https://mui.com/base/](https://mui.com/base/getting-started/installation/) | ||||||
| - MUI System: [https://mui.com/system/](https://mui.com/system/basics/) | ||||||
| - MUI X: | ||||||
| - Data Grid: [https://mui.com/x/react-data-grid/](https://mui.com/x/react-data-grid/) | ||||||
| - Date and Time Pickers: [https://mui.com/x/react-date-pickers/](https://mui.com/x/react-date-pickers/getting-started/) | ||||||
|
|
||||||
| > 📖 The date and time pickers have been promoted from the lab (`@mui/lab`) to MUI X—still available under the MIT license. To learn more, check out the [blog post about the newest MUI X components](/blog/lab-date-pickers-to-mui-x/). | ||||||
| ### Improved search experience | ||||||
|
|
||||||
| The documentation restructuring ranks search results based on the product that you are currently looking at. | ||||||
| For example, if you are looking at Material UI documentation, when you press <kbd><kbd class="key">⌘</kbd>+<kbd class="key">K</kbd></kbd> (or <kbd><kbd class="key">CTRL</kbd>+<kbd class="key">K</kbd></kbd> on Windows) and type a keyword, you will find that most of the results are related to Material UI. | ||||||
|
|
||||||
| We have also added product labels for Material UI and MUI Base in case it's unclear which library the search results refer to. | ||||||
|
|
||||||
| <img src="/static/blog/docs-updates/docs-product-label.png" style="width: 796px; margin-top: 16px; margin-bottom: 16px;" alt="Screenshot of the search results displaying product labels per result" /> | ||||||
|
|
||||||
| As a side benefit of the documentation restructuring, we have seen a huge improvement in the quality of search results related to MUI X. Data Grid users can now see comprehensive results when searching for features. Here is a comparison of before and after when searching for the "pagination" feature: | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| <img src="/static/blog/docs-updates/docs-search-comparison.png" style="width: 796px; margin-top: 16px; margin-bottom: 16px;" alt="Screenshots of the docs before and after comparing Data Grid search results" /> | ||||||
|
|
||||||
| ## Moving forward | ||||||
|
|
||||||
| This separation will become increasingly beneficial as each product grows, such as additional components in MUI X and MUI Base. | ||||||
|
|
||||||
| As we move forward working on [our second design system package](https://deploy-preview-30686--material-ui.netlify.app/experiments/), the separation will make it possible for us to build the documentation for each system using its default styles—so the docs themselves will serve as examples of their corresponding component libraries. | ||||||
|
|
||||||
| If you have any feedback or suggestions, we definitely want to hear from you. | ||||||
| Please open an issue in the [mui/material-ui repository on GitHub](https://github.com/mui/material-ui/issues), and be sure to start the **Title** with [docs]. | ||||||
|
|
||||||
| Happy developing! 👩💻 | ||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+273 KB
docs/public/static/blog/lab-date-pickers-to-mui-x/date-time-picker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.