File tree 1 file changed +2
-1
lines changed
material.angular.io/src/app/shared/documentation-items
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -272,6 +272,7 @@ const DOCS: { [key: string]: DocItem[] } = {
272
272
name : 'Ripples' ,
273
273
overviewPath : 'material/core/ripple/ripple.html' ,
274
274
summary : 'Directive for adding Material Design ripple effects' ,
275
+ hasStyling : false , // Ripple styling is documented through `core`.
275
276
exampleSpecs : {
276
277
prefix : 'ripple-' ,
277
278
} ,
@@ -607,7 +608,7 @@ export class DocumentationItems {
607
608
function processDocs ( packageName : string , docs : DocItem [ ] ) : DocItem [ ] {
608
609
for ( const doc of docs ) {
609
610
doc . packageName = packageName ;
610
- doc . hasStyling = packageName === 'material' ;
611
+ doc . hasStyling ?? = packageName === 'material' ;
611
612
doc . examples = exampleNames . filter ( key =>
612
613
key . match ( RegExp ( `^${ doc . exampleSpecs . prefix } ` ) ) &&
613
614
! doc . exampleSpecs . exclude ?. some ( excludeName => key . indexOf ( excludeName ) === 0 ) ) ;
You can’t perform that action at this time.
0 commit comments