-
Notifications
You must be signed in to change notification settings - Fork 734
Docs/example fixes #3687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Docs/example fixes #3687
Conversation
…nd improved layout
…larity and consistency
…and maxValue props
@@ -26,7 +26,8 @@ const VALID_COMPONENTS_CATEGORIES = [ | |||
'incubator', | |||
'infra', | |||
// non components categories | |||
'services' | |||
'services', | |||
'dev' // development category for components we don't want to render in our docs (used in test.api.json) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to add this to the sidebars? Perhaps only in the next version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do you recommend doing it only for next?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add it to
react-native-ui-lib/docuilib/sidebars.js
Lines 26 to 28 in 2015fa0
incubator: 'Incubator', | |
infra: 'Infra' | |
}; |
Now that I see there a huge difference between the design of the sidebars in the regular version then in the next version. In the regular version theres dividers and such.
I guess it was added here manually. we'll have to adjust the sidebars script to generate that, we need to add that to the components sidebar. I'll create a pr.
{
type: 'category',
label: 'Incubator',
collapsible: false,
items: [
{
type: 'autogenerated',
dirName: `components/infra`
}
]
},
{
type: 'category',
label: 'Infra',
collapsible: false,
items: [
{
type: 'autogenerated',
dirName: `components/infra`
}
]
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Improve various components snippets (code examples)
Changelog
NA
Additional info