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

[Docs] Hide internal properties from docs

Open mbrookes opened this issue 10 years ago • 12 comments

For example the checked property of RadioButton is only used by RadioButtonGroup, but is shown in the public documentation Properties table.

mbrookes avatar Jan 18 '16 22:01 mbrookes

@mbrookes @oliviertassinari How about an @internal tag? Doctrine can pick it up and we can exclude it from the table. Thoughts?

alitaheri avatar Jan 19 '16 06:01 alitaheri

That makes sense to me. :+1:

newoga avatar Jan 19 '16 06:01 newoga

@newoga the internal tag or the idea of internal properties? :grin:

alitaheri avatar Jan 19 '16 06:01 alitaheri

Both! :smile:

newoga avatar Jan 19 '16 06:01 newoga

Thanks :sweat_smile: :sweat_smile: :sweat_smile:

alitaheri avatar Jan 19 '16 07:01 alitaheri

@mbrookes Can we close this issue?

oliviertassinari avatar Feb 27 '16 00:02 oliviertassinari

@heetvachhani - in #3247 did you trace through each component to see which subcomponent props (for public, documented subcomponents) are controlled by the parent, or just add muiTheme and the couple I had already commented?

mbrookes avatar Feb 27 '16 17:02 mbrookes

@mbrookes I went through most of the component but it seems that all of the props needed in the documentation page. so haven't removed that. I will still look for internal props in case if I missed some and will remove that. Thanks! :grin:

heetvachhani avatar Feb 27 '16 18:02 heetvachhani

@heetvachhani - no, if you already did this we're good. I just wanted to double check with you before closing. :+1:

mbrookes avatar Feb 27 '16 19:02 mbrookes

@heetvachhani - just looking at a Tabs issue, and I notice Tab has a number of props that are controlled by Tabs. Could you take a look and @ignore them? Thanks! :+1:

mbrookes avatar Mar 03 '16 15:03 mbrookes

Yeah sure will @ignore that @mbrookes

heetvachhani avatar Mar 03 '16 15:03 heetvachhani

Closed in favour of #3588.

mbrookes avatar Mar 04 '16 09:03 mbrookes