mui / mui-x

MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
https://mui.com/x/
3.94k stars 1.21k forks source link

[docs] Follow-up on docs generation #1826

Open oliviertassinari opened 3 years ago

oliviertassinari commented 3 years ago

1529 is a major step forward toward exhaustive documentation of the API. These are opportunities I have seen that we could tackle next:

https://user-images.githubusercontent.com/3165635/126902292-76eef161-cfac-454b-933b-4480dbaec30f.mp4

Capture d’écran 2021-07-25 à 16 08 42 Capture d’écran 2021-07-25 à 16 08 44

https://deploy-preview-2102--material-ui-x.netlify.app/api/data-grid/grid-api/

cc @m4theushw

dtassone commented 3 years ago

As mention before I think we can create an advanced page, with events and other more advanced concept in it, like apiRef...

oliviertassinari commented 3 years ago

I think we can create an advanced page, with events and other more advanced concept in it, like apiRef.

@dtassone Could you expand? Do you mean that you would?

Something like this:

# Data Grid - Advanced

## apiRef

Introduction, how to use it.

### Features

- Filtering: https://master--material-ui-x.netlify.app/components/data-grid/filtering/#apiref
- Export
- etc.

## Events

Introduction, naming convention

### Props

### subscribeEvent

apiRef

### Catalog of events

Sounds good

dtassone commented 3 years ago

Yes something like that seems great. It would allow more advanced users to find deeper use cases of the grid in one place and to understand in more depth the concepts. So we could add links to the advanced page in different pages such as rows streaming...