mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.18k stars 32.08k forks source link

[docs-infra] Link to source #36824

Open oliviertassinari opened 1 year ago

oliviertassinari commented 1 year ago

Summary 💡

When I was building Material UI v1 during the night, and using it during my day job. I would spend a lot of time in the source. I would frequently: 1. go to the API page https://v1.mui.com/api/avatar/, 2. click on:

Screenshot 2023-04-09 at 16 56 09

and 3. check the source.

Maybe it makes sense to introduce this back?

Examples 🌈

Motivation 🔦

Screenshot 2023-04-09 at 16 56 43
samuelsycamore commented 1 year ago

I like this idea!

Narcos101 commented 1 year ago

Seems like a great idea. Also the link for source is broken. Mentioned in this issue #36871. Would love to take on this issue as well!

Jay-Karia commented 1 month ago

The goal is to add source links to every component documentation ?

Jay-Karia commented 1 month ago

We can add source link button here

Inspired from Next UI