Skip to content

Commit 65f1ec6

Browse files
committedNov 28, 2024
fix: hide ripple styling page
Hides the styling page for the ripple since it's part of `core`. Fixes #30098.
1 parent 222f8e3 commit 65f1ec6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎material.angular.io/src/app/shared/documentation-items/documentation-items.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ const DOCS: { [key: string]: DocItem[] } = {
272272
name: 'Ripples',
273273
overviewPath: 'material/core/ripple/ripple.html',
274274
summary: 'Directive for adding Material Design ripple effects',
275+
hasStyling: false, // Ripple styling is documented through `core`.
275276
exampleSpecs: {
276277
prefix: 'ripple-',
277278
},
@@ -607,7 +608,7 @@ export class DocumentationItems {
607608
function processDocs(packageName: string, docs: DocItem[]): DocItem[] {
608609
for (const doc of docs) {
609610
doc.packageName = packageName;
610-
doc.hasStyling = packageName === 'material';
611+
doc.hasStyling ??= packageName === 'material';
611612
doc.examples = exampleNames.filter(key =>
612613
key.match(RegExp(`^${doc.exampleSpecs.prefix}`)) &&
613614
!doc.exampleSpecs.exclude?.some(excludeName => key.indexOf(excludeName) === 0));

0 commit comments

Comments
 (0)
Please sign in to comment.