Open oliviertassinari opened 8 months ago
Follow up on #34243
To provide more details on the problem, the goal is to have the .js file and the markdown in the same folder but:
{{"demo":
resets the theme to use the default of Material UI, which isn't the theme of the docs. So ❌bg:"inline"
doesn't include a padding on mobile, this needs to be added back ⚠️{{"component":
doesn't allow to import the components from the same folder as `{{"demo":
would So ❌We could solve this in different ways:
{{"component":
vs. {{"demo":
is all about. So option a. might make the most sense.
Summary
Having to the component source outside of the markdown folder like in https://github.com/mui/material-ui/blob/master/docs/data/material/all-components/all-components.md is not great. You want to be able to delete a page of the docs and all its related content all at once (closer folders).
Examples
No response
Motivation
No response
Search keywords: -