material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[docs-infra] Link to source

Open oliviertassinari opened this issue 2 years ago • 4 comments

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 🌈

  • Material UI v1 docs pages.

  • Radix https://www.radix-ui.com/docs/primitives/components/aspect-ratio

    Screenshot 2023-04-09 at 16 57 12

Motivation 🔦

Screenshot 2023-04-09 at 16 56 43

oliviertassinari avatar Apr 09 '23 14:04 oliviertassinari

I like this idea!

mapache-salvaje avatar Apr 12 '23 16:04 mapache-salvaje

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!

Narcos101 avatar Apr 13 '23 09:04 Narcos101

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

Jay-Karia avatar Aug 05 '24 10:08 Jay-Karia

We can add source link button here

Inspired from Next UI

Jay-Karia avatar Aug 06 '24 04:08 Jay-Karia