-
Notifications
You must be signed in to change notification settings - Fork 10
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
Component content from JSDocs #246
Comments
Permitted TagsJsdoc and web component analyzer support permitted tags for a slot as shown below. When the custom elements are analysed and transformed into JSON format, the permitted tags are not included. "slots": [
{
"name": "heading",
"description": "The heading of the accordion."
},
{
"description": "Anonymous slot for expanders."
}
] |
PR to pull permitted tag names and component placements centrica-engineering/muon#571 "slots": [
{
"name": "label",
"description": "The label for the input.",
"permittedTagNames": [
"label"
]
},
{
"description": "The form element passed in such as input, select, textarea.",
"permittedTagNames": [
"input",
"select"
]
},
{
"name": "tip-details",
"description": "The tip details related to the helper.",
"permittedTagNames": [
"div"
]
}
],
"placements": [
"muon-form"
]
|
Muon PR to split analyzer and json transformation centrica-engineering/muon#572 |
Nucleus changes
|
jsdoc slots in nucleus docs #269 |
PR to update jsdoc https://github.com/ConnectedHomes/nucleus/pull/3333. This includes
|
Update sidebar using jsdoc #292 |
Outcome
We pull content automatically from the components' codebase into the documentation.
Scope
The following content blocks:
Form
,Experience
]internal
,deprecated
]The text was updated successfully, but these errors were encountered: